Commit Graph

19 Commits

Author SHA1 Message Date
Fabian Schlenz a96f6c79e3 monitor.rb now uses real 24-bit-colors instead of ansi colors. 2020-08-06 15:37:38 +00:00
Fabian Schlenz 2a6f68cc45 Adapted recorder.rb and generate_gifs.sh to websockets. 2019-10-23 12:37:25 +02:00
Fabian Schlenz 141210a370 Switched from ESPWebServer and WebSocketsServer to ESPAsyncWebServer. 2019-10-23 06:22:53 +02:00
Fabian Schlenz a902addf94 snakenet.rb: You can choose between using float or integer weights. floats seem to give better results and the speed didn't improve a lot. 2019-10-23 05:42:42 +02:00
Fabian Schlenz aa72196a07 monitor.rb now also uses websockets instead of raw UDP stuff. 2019-10-23 05:38:38 +02:00
Fabian Schlenz 38aa654c54 Snakenet.rb now applies modifications to the weights in both directions (e.g. positive and negative), creating two new AIs.
continuous-integration/drone/push Build encountered an error Details
2019-10-18 17:04:44 +02:00
Fabian Schlenz 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
Fabian Schlenz 230a1f1a91 Effect snake now uses a "proper", albeit simple neural network instead of simple decisions. 2019-10-16 12:27:58 +02:00
Fabian Schlenz bd0041619a Added snakenet.rb, the tool used to train the AI for snake effect. 2019-10-16 05:56:42 +02:00
Fabian Schlenz 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
Fabian Schlenz 549bce479a gifsicle breaks the gifs. -_-
continuous-integration/drone/push Build is passing Details
2019-09-04 12:48:45 +02:00
Fabian Schlenz 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
Fabian Schlenz 3c0e7a116a Animation now uses .pia files from SPIFFS instead of hardcoded C stuff. 2019-06-18 18:10:58 +02:00
Fabian Schlenz 0af76f2195 gif2c: Produce nicer formatted C code.
continuous-integration/drone/push Build is failing Details
2019-06-14 05:36:25 +02:00
Fabian Schlenz 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
Fabian Schlenz 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
Fabian Schlenz 1d693f34e9 gif2c now throws an exception if the gif file contains frames with differing sizes. 2019-06-04 05:59:00 +02:00
Fabian Schlenz 71c524b2cf Modified gif2c.rb to output GIFs matching the current code in effect_animation.h. 2019-05-30 01:33:19 +02:00
Fabian Schlenz ce0c834326 Arduino IDE -> PlatformIO 2019-05-27 21:17:05 +02:00