Coding Challenge #1 - Code a Christmas Tree!
-
-
-
-
I went for something that I could build quickly:
loop clear() setView(0, -1, 4, 0) triangle({2,-1}, {1}, {3}, green, false) update() repeat
Or to make it a Christmas tree:
loop clear() setView(0, 1, 4, 0) // inverted the y here, because why not... triangle({2, 1}, {1}, {3}, green, false) triangle({2, 1}, {1}, {3}, yellow, true) // added this line for decorations update() repeat
edited: setView did not handle docking and undocking the way I expected, so I had to update my submission for that (now doing everything each loop).
-
this was fun!
May be pending
ID:S4X23MNDSL
-
I made a Christmas tree using shapes, currently pending. ID: N5FXURND9F
-
It appears my project name is the same as JMM161437's project, it asks me if I want to overwrite mine when I enter his code. Should I rename mine and resubmit?
-
This post is deleted! -
@Dinocoder said in Coding Challenge #1 - Code a Christmas Tree!:
I made a Christmas tree using shapes, currently pending. ID: N5FXURND9F
That looks great! Very arty!
-
-
Reading through the posts, I feel like my SVG approach is not fitting the core of this challenge. I will move it to a separate WIP thread. So, this submission fits better: download code NQ6HVMNDN8
The dark/light green structure in the tree, was a typo, but I decided that it looks nice 😄 so I left it.