i want to create a christmas tree by computer graphic methods but i dont have any idea how to strat it | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

i want to create a christmas tree by computer graphic methods but i dont have any idea how to strat it

17th Nov 2018, 12:52 PM
Shade96
Shade96 - avatar
5 Answers
+ 4
Something like this? ✨✨✨✨✨✨🌲✨✨✨✨✨✨ ✨✨✨✨✨🌲🌲🌲✨✨✨✨✨ ✨✨✨✨🌲🌲🌲🌲🌲✨✨✨✨ ✨✨✨✨✨🌲🌲🌲✨✨✨✨✨ ✨✨✨✨🌲🌲🌲🌲🌲✨✨✨✨ ✨✨✨🌲🌲🌲🌲🌲🌲🌲✨✨✨ ✨✨✨✨🌲🌲🌲🌲🌲✨✨✨✨ ✨✨✨🌲🌲🌲🌲🌲🌲🌲✨✨✨ ✨✨🌲🌲🌲🌲🌲🌲🌲🌲🌲✨✨ ✨✨✨🌲🌲🌲🌲🌲🌲🌲✨✨✨ ✨✨🌲🌲🌲🌲🌲🌲🌲🌲🌲✨✨ ✨🌲🌲🌲🌲🌲🌲🌲🌲🌲🌲🌲✨ ✨✨🌲🌲🌲🌲🌲🌲🌲🌲🌲✨✨ ✨🌲🌲🌲🌲🌲🌲🌲🌲🌲🌲🌲✨ 🌲🌲🌲🌲🌲🌲🌲🌲🌲🌲🌲🌲🌲 ✨✨✨✨✨🌲🌲🌲✨✨✨✨✨ ✨✨✨✨✨🌲🌲🌲✨✨✨✨✨ ✨✨✨✨🌲🌲🌲🌲🌲✨✨✨✨
17th Nov 2018, 2:06 PM
Babak
Babak - avatar
+ 3
If you use C++ i don't know, if you use html and JavaScript, use the HTML5 element Canvas, i love this :D
17th Nov 2018, 2:17 PM
InvBoy [ :: FEDE :: ]
InvBoy [ :: FEDE :: ] - avatar
+ 2
"Not by using for loops I want to use graphic methods" for loop is a tiny part of a whole. A 2D matrix would be your ASCII graphical interface which must be populated with calculated coordinates of the tree. There are two major approaches to achieve that: 1. Set a background for the tree and then carve the tree's outline 2. Set a background for the tree and then carve the tree's outline and finally filling the tree's inner part with another effect (more demanding approach but makes the work incredibly beautiful)
17th Nov 2018, 3:01 PM
Babak
Babak - avatar
0
Not by using for loops I want to use graphic methods I meant by lines and yes in c++ language
17th Nov 2018, 2:50 PM
Shade96
Shade96 - avatar
16th Dec 2020, 2:34 PM
Didi Georgel Danaila
Didi Georgel Danaila - avatar