Skip to content

Norne9/atree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Christmas Tree

I tried to make atree on python.

Here is the result:

tree

How to run

You need Python 3.7 (I haven't test other versions) and pygame

Install pygame as follows: pip install pygame>=2.0.0.dev6

And now run the application: python atree.py

How it's built?

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:

spiral

Happy Holidays!

Releases

No releases published

Packages

No packages published

Languages