News for hackers. Stuff that matters.
Re:Understanding Multiple Neighbourhood Cellular Automata by yesenadam on Wednesday May 26, 2021 @03:37AM (#27287517)
Nice! p.s. I'm only seeing still images for 20 seconds, which I guess are supposed to be moving?
Re:Understanding Multiple Neighbourhood Cellular Automata by Slackermanz on Wednesday May 26, 2021 @03:50AM (#27287606)
It's my first website/blog, so I may have misconfigured something, or maybe it's an issue with the self-hosted video player. I'll look into it now!
Re:Understanding Multiple Neighbourhood Cellular Automata by abetusk on Wednesday May 26, 2021 @04:06AM (#27287710)
This is great work.

I'd love to see a blog post detailing some of the optimizations you did to speed this up. Presumably you octree/voxel segmentation to re-use already summed regions of the CA?

I'd also love to see some 3D MNCAs...

Re:Understanding Multiple Neighbourhood Cellular Automata by Slackermanz on Wednesday May 26, 2021 @04:47AM (#27287950)
I'll add that to the list of pending posts!

For the most simple MNCA implementations, I don't use any special optimizations. It's essentially just brute-force naive convolution.

That said, some of the more advanced models I've made use up to 48 neighborhoods.

For those, I split the neighborhoods into 'Width-1' rings for each 'Radius' value, and then assemble the final neighborhoods by referencing some combination of those rings.

For the 'RGB-SMNCA' models with a maximum Radius of 10, this means that I can reduce the total texelFetch() calls from a maximum of 163348 = 16,704 (!!!) down to 13348 = 1044.

These numbers come from: ( Neighborhoods * Color Channels * Radius-10 Neighbor Count )

3D (S)MNCAs are something I certainly plan on developing, and will likely implement after I'm finished with the headless_engine branch of VulkanAutomata, which will hopefully (finally) allow for a proper cross-platform compatible application.

Re:Understanding Multiple Neighbourhood Cellular Automata by Slackermanz on Wednesday May 26, 2021 @04:59AM (#27288018)
Regarding the video loading, it's really unclear what the issue might be. I have a couple of suspects though...

- Video resolution is larger than 1920 × 1088 ( https://www.caniuse.com/?search=video > Known Issues )

- The videos contain no audio track ( https://wordpress.org/support/topic/mp4-h264-video-doesnt-al... )

Anyone else have ideas?

Other than that, I'm not sure. I've added direct media links under each video - hopefully that works until I can try some fixes.

Re:Understanding Multiple Neighbourhood Cellular Automata by nimbleal on Wednesday May 26, 2021 @03:41AM (#27287548)
I posted this but I'm not the author; I don't know if he visits HN or not.

I see videos on my desktop — perhaps a browser issue?

Re:Understanding Multiple Neighbourhood Cellular Automata by Slackermanz on Wednesday May 26, 2021 @03:50AM (#27287607)
> I don't know if he visits HN or not

I guess I do now!

Re:Understanding Multiple Neighbourhood Cellular Automata by Quequau on Wednesday May 26, 2021 @04:07AM (#27287718)
Perhaps now is the time to promote /r/cellular_automata/

https://www.reddit.com/r/cellular_automata/