close
Skip to content

Lanthanum89/christmas-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Sparkling Christmas Tree 🎄

A festive animated Christmas tree using Python's turtle graphics library with sparkling ornaments, twinkling star, and dynamic lighting effects.

Features

  • Three-layered Christmas tree with realistic colours
  • Animated ornaments that change colours
  • Twinkling gold star on top
  • Random sparkle effects throughout the tree
  • Midnight blue winter night background

Requirements

  • Python 3.x
  • turtle (included in standard library)

Usage

python christmas_tree.py

Click anywhere on the window to exit the animation.

How It Works

The animation uses multiple turtle objects to create different elements:

  • Static tree structure and trunk
  • Dynamic ornament objects that cycle through color palettes
  • Sparkle effects that appear randomly across the tree
  • Star that alternates between gold, yellow, and orange

The animation loop updates every 500ms to create smooth, festive sparkles.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages