Commit Graph

14 Commits

Author SHA1 Message Date
38aa654c54 Snakenet.rb now applies modifications to the weights in both directions (e.g. positive and negative), creating two new AIs.
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2019-10-18 17:04:44 +02:00
54925dfc0e Snake effect now uses a neural net with a hidden layer; a bug in _is_free() that lead to lots of snakes committing suicide was fixed; neural net weights are now given as binary representation of a float to prevent rounding errors. 2019-10-18 06:40:09 +02:00
230a1f1a91 Effect snake now uses a "proper", albeit simple neural network instead of simple decisions. 2019-10-16 12:27:58 +02:00
bd0041619a Added snakenet.rb, the tool used to train the AI for snake effect. 2019-10-16 05:56:42 +02:00
792354e371 Updated recorder to only send every 2nd frame, to clear the window when selecting a new effect, doubled the resizing factor and re-enabled gifsicle. 2019-09-25 06:09:00 +02:00
549bce479a gifsicle breaks the gifs. -_-
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-04 12:48:45 +02:00
33c2417534 Added recorder to be able to stream the current LED data via network. That way you can create nice looking GIF images of the effects - and even develop effects without having to look at the actual LED panel. 2019-09-04 06:05:45 +02:00
3c0e7a116a Animation now uses .pia files from SPIFFS instead of hardcoded C stuff. 2019-06-18 18:10:58 +02:00
0af76f2195 gif2c: Produce nicer formatted C code.
Some checks failed
continuous-integration/drone/push Build is failing
2019-06-14 05:36:25 +02:00
5b7c7a7007 gif2c: Now has an option --full-frames which encodes every frame completely, without the "leave the previous pixel intact" bits. 2019-06-06 06:39:52 +02:00
bfaf1a9d7a Added debugging mode to gif2c, where it will print overviews of which pixels of each frame changed. 2019-06-04 05:59:32 +02:00
1d693f34e9 gif2c now throws an exception if the gif file contains frames with differing sizes. 2019-06-04 05:59:00 +02:00
71c524b2cf Modified gif2c.rb to output GIFs matching the current code in effect_animation.h. 2019-05-30 01:33:19 +02:00
ce0c834326 Arduino IDE -> PlatformIO 2019-05-27 21:17:05 +02:00