Skip to content

ziebam/pov-brain-is-weird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pov: brain is weird

simple toy to showcase the persistence of vision phenomenon discussed in this video.

try starting the below demo. when it's running, you will seemingly notice lines flickering on the screen, but they disappear as soon as you pause or take a screenshot.

demo.mp4

build

you can build this project locally on Windows by default and on Linux with the -platform flag (sorry macOS folks).

requirements: gcc and ar available in the PATH.

steps:

  1. clone the repo
  2. gcc ./nob.c -o nob
  3. ./nob or ./nob -platform windows for Windows or ./nob -platform linux for Linux
  4. ./build/pov-brain-is-weird

keybindings:

  • arrows () to choose a simulation
  • Enter to select the simulation
  • p to pause/unpause
  • ESC to quit the simulation and go back to menu

credits

nob -- amazing, minimalist build system by Tsoding, license included in nob.h

raylib -- amazing, minimalist game-making library, license vendored in the repository

window icon -- taken from Tsoding's stream/Discord server with his persmission: click!

inspiration -- this video and its unironically awesome comment section

About

simple toy to showcase the persistence of vision phenomenon discussed in https://www.youtube.com/watch?v=TdTMeNXCnTs

Resources

License

Stars

Watchers

Forks

Languages