October 10, 2025

Tiny Code Christmas - Day 12

Link to the twelfth day

On day 12, we created a 3d christmas tree.

It consists of multiple rotating circles changing color over time.

For each circle, we have a number of pixels we want to draw. These pixels get distributed over a ellipsis to simulate a 3d perspective.
The y coordinate for each ellipsis changes slightly over time to give it a small animation.

Finally we added a circle on top of the tree.

Packing reduced the size from 1.031 to 156 bytes, so there is still a lot of space for additional effects.

Link to my solutions

Here is the resulting image: 



 


No comments:

Post a Comment