只是一个简单的圣诞树,基于 reddit 故事
I found animated Christmas tree on reddit:
Was curious to make it in js. Current results are here: Happy new 2025!. Wish you all great successes and joy, doing what you love!
The tree is built of two spirals. These 11 lines of code render one line on spiral. It includes 3d projection and background shadow. Almost the same as this wiki image:
EDIT: Thank you reddit. With your help we made it almost perfect. You are awesome!
Huge appreciation goes to @CensoredUsername who made significant improvement.
@Yazuak first gave and implemented idea of how to manage even distribution of points along the curves.
So, what's left? Just small changes which could make this tree perfect:
MIT
暂无开放 Issues,或尚未同步最近议题。