Skip to content

A festive ASCII Christmas tree generator written in Python. Features colorful ornaments, twinkling lights, animated rendering, and customizable tree height. Perfect for adding some holiday cheer to your terminal! πŸŽ„

License

Notifications You must be signed in to change notification settings

ArkURL/ChristmasTreeASCII

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ„ Christmas Tree Generator

A festive ASCII Christmas tree generator written in Python. Spread holiday cheer in your terminal!

Features

  • 🌲 Beautiful ASCII Christmas tree with customizable height
  • ✨ Colorful ornaments and twinkling lights
  • ⭐ Glowing star on top
  • πŸͺ΅ Wooden trunk centered at the base
  • ❄️ Snow ground effect
  • ⏱️ Animated rendering with timing control
  • 🎨 Multiple colors: green, red, yellow, blue, purple, cyan, and gold

Requirements

  • Python 3.6 or higher

Installation

Simply clone or download the repository:

git clone https://github.com/ArkURL/ChristmasTreeASCII.git

Usage

Run the script and enter your desired tree height:

python3 christmas_tree.py

You will be prompted to enter a tree height between 5 and 30 (default is 15):

Enter tree height (5-30, default 15):

Press Enter for the default height, or type a number and press Enter.

Example

$ python3 christmas_tree.py
Enter tree height (5-30, default 15): 12

Christmas Tree Example

Options

  • Height: 5-30 (controls the size of the tree)
  • The tree automatically ornaments itself with random decorations each time you run it!

License

MIT License - Feel free to use and modify for your own festive projects!

Contributing

Feel free to submit issues and pull requests to make this tree even more festive!


Merry Christmas! πŸŽ…πŸŽ

About

A festive ASCII Christmas tree generator written in Python. Features colorful ornaments, twinkling lights, animated rendering, and customizable tree height. Perfect for adding some holiday cheer to your terminal! πŸŽ„

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages