ARCHITECTURAL ELEMENT OF ROSE FLOWER DECORATION SHOWN WITH PYTHON
ABSTRACT: The paper presents: a program for drawing an architectural element of decoration in the form of a rose flower on the example of a rosette (floral design), for example, the Cathedral of St. Stoic in Zadar, the Python programming language that created a rose flower decoration element, an explanation of the main function of the program, a function that draws a circular clip of a circle, and a function that colors circular clips. The program in the paper is presented in code view and design view and allows users to: enter x, y coordinates using the application form, enter the radius length over the form, and enter the number of sheets in the form. Eventually, the program will print a form in which the user will be able to choose to repeat the drawing of the rosette (by selecting the option yes) or not. Each command used in the program was also explained in detail, and loops and corresponding branches were applied.
engleski
2019
Ovo delo je licencirano pod uslovima licence
Creative Commons CC BY 4.0 - Creative Commons Autorstvo 4.0 International License.
http://creativecommons.org/licenses/by/4.0/legalcode
Key words: Python, floral design, application forms, loop 'for', branching 'if-else', functions
|
o:1600 | Radovi profesora i saradnika Fakulteta za ekonomiju i inženjerski menadžment |