Skip to content

About

No description, website, or topics provided.

Resources

Stars

89 stars

Watchers

2 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Eye → Space 👁️

A generative ASCII art animation in Python that brings a single eye to life: it opens, blinks, and then the camera dives into the pupil, flying through a twinkling starfield and into a glowing heart-shaped nebula, all drawn with text characters and no images.

image

Features

  • Procedural ASCII Rendering: Builds the skin, iris, eyebrow hair, stars and nebula from NumPy noise and math instead of image files, then converts every frame into text by mapping brightness to a dark-to-bright character ramp.
  • Timeline-Driven Animation: Smoothly eases through distinct phases: eyelid opening, blinking, wandering gaze, zooming into the pupil, and a nebula that morphs from a round cloud into a heart.
  • Layered Eye Model: Combines eyelids, amber iris fibers, sclera veins, catchlights, eyelid crease and individually stamped eyelashes, with a pupil that acts as a portal to space.
  • Space FX & Bloom: Features 3,200 twinkling stars flying toward the camera, shooting stars with fading tails, a slow comet, sparkle rays on bright stars, and a soft glow around bright areas.
  • Interactive GUI & Smart Redrawing: Interactive Tkinter window with keyboard controls (R, Esc) that only redraws the cells that changed, automatically adapting to your computer's speed.
  • Included Glossary: Glossary.txt explains every constant, function, variable and abbreviation used in eye.py, so you can read it side by side with the code.

How to Run

# Install the only dependency (Tkinter comes bundled with Python)
pip install numpy

# Run the animation
python eye.py

About

No description, website, or topics provided.

Resources

Stars

89 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages