shinyblink / sled

Satanic/Sexy/Stupid/Silly/Shiny LED matrix controller
https://shinyblink.github.io/sled/
ISC License
122 stars 25 forks source link

add Rule90 cellular automata #86

Closed mattvenn closed 5 years ago

mattvenn commented 5 years ago

is it wrong to use the matrix as the state?

vifino commented 5 years ago

Hey, that's very cool! Sorry that I replied so late, very busy days. I'll check it out today, but code looks good!

vifino commented 5 years ago

To answer your question: Nope, it's a tiny bit slower, but it doesn't matter, very nifty, I didn't think of that!

vifino commented 5 years ago

Hey. I took a look at the effect and it seems that it'll only draw up to FRAMES pixel down, then it restarts. So if you have bigger matricies, it won't finish drawing. I'm not sure how to deal with that.

mattvenn commented 5 years ago

OK, I'll take a look - don't think it will be hard to fix.

mattvenn commented 5 years ago

OK, I had the wrong end of the stick there. I suggest I remove the frames counter and just have it finish when it completes the number of lines the screen is set to.

On Thu, 25 Apr 2019 at 22:28, Adrian Pistol notifications@github.com wrote:

Hey. I took a look at the effect and it seems that it'll only draw up to FRAMES pixel down, then it restarts. So if you have bigger matricies, it won't finish drawing. I'm not sure how to deal with that.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/shinyblink/sled/pull/86#issuecomment-486825880, or mute the thread https://github.com/notifications/unsubscribe-auth/AAE223EHQZHQ2PMYKH6RBBLPSIH5HANCNFSM4HHRZUMQ .

-- Matthew Venn web mattvenn.net twitter @matthewvenn https://twitter.com/matthewvenn

mattvenn commented 5 years ago

@fridtjof thanks!