Skip to content

jumble/pycrt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyCRT

An unoptimized CR beamsweep emulation.

to use

  • install all the requirements (pip install -f requirements.txt, in a virtualenv or not, i'm not your dad)
  • get an image of your choice in this directory, then replace the image path in crt.py's main function with the name of your image
  • if you want, edit the CRTDrawerConfig there too:
    • rgbarray: the image loaded above
    • dim_delay: number of frames between screen dims (int)
    • dim_amount: screen dim amount (int)
    • beam_sweep_amount: number of pixels traversed by the beam in a single update
  • run crt.py

todo

  • More realtime sweeping
    • Rewrite in a more suitable language, or at least more performant Python
  • Actually target pixels with a vector "beam" that can be distorted by emulated fields!
    • like when you hold a magnet up to a real crt
  • through the above, or via another way : various fuzzing effects (haha tv go bzz)

About

cute lil CRT emulation in pygame

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages