Skip to content

SnarkDesign/Moire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Just Another Moire Program Screensaver for the Arduino

C code to draw a Moire program for any given size screen.

There's a BW version

and a color version.

The line drawing is writen from scratch - like an ant walk. The color choosing algorithm is from the Liligo Library example code - until i make my own.

Code is adapted for BW version of the Heltec esp32 wifi kit OLED. Color version adapted to the ttgo Lily LED. Color routine adapted from their example codes.

Based on the old Applesoft Moire program that came with the Apple 2 floppy diskette. Circa 1978, I couldnt find the original code so i wrote it from scratch.

I didn't add all the Mac BW Moire extension (start up plug in) like geometry shapes and trails. But it's a possible adventure...

Lots of variations can be added to this code but I like this one for its simplicity and the many different patterns - pseudo fractal /diffusion/grating progression and like the game of life patterns that appear (in the BW version).

Author: Xavier Bury Copyright 2023

Feel free to augment the script... Changing colors, deltas values and delta logic also can be changed. And adding different shapes would be nice.