0
i want to create a christmas tree by computer graphic methods but i dont have any idea how to strat it
5 ответов
+ 4
Something like this?
✨✨✨✨✨✨🌲✨✨✨✨✨✨
✨✨✨✨✨🌲🌲🌲✨✨✨✨✨
✨✨✨✨🌲🌲🌲🌲🌲✨✨✨✨
✨✨✨✨✨🌲🌲🌲✨✨✨✨✨
✨✨✨✨🌲🌲🌲🌲🌲✨✨✨✨
✨✨✨🌲🌲🌲🌲🌲🌲🌲✨✨✨
✨✨✨✨🌲🌲🌲🌲🌲✨✨✨✨
✨✨✨🌲🌲🌲🌲🌲🌲🌲✨✨✨
✨✨🌲🌲🌲🌲🌲🌲🌲🌲🌲✨✨
✨✨✨🌲🌲🌲🌲🌲🌲🌲✨✨✨
✨✨🌲🌲🌲🌲🌲🌲🌲🌲🌲✨✨
✨🌲🌲🌲🌲🌲🌲🌲🌲🌲🌲🌲✨
✨✨🌲🌲🌲🌲🌲🌲🌲🌲🌲✨✨
✨🌲🌲🌲🌲🌲🌲🌲🌲🌲🌲🌲✨
🌲🌲🌲🌲🌲🌲🌲🌲🌲🌲🌲🌲🌲
✨✨✨✨✨🌲🌲🌲✨✨✨✨✨
✨✨✨✨✨🌲🌲🌲✨✨✨✨✨
✨✨✨✨🌲🌲🌲🌲🌲✨✨✨✨
+ 3
If you use C++ i don't know, if you use html and JavaScript, use the HTML5 element Canvas, i love this :D
+ 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)
0
Not by using for loops I want to use graphic methods I meant by lines and yes in c++ language