SimHacker/CAM6
View on GitHub ↗ ★ 35 JavaScript
Cellular Automata Machine (CAM6) Simulator
32 mentions on Hacker News by 2 people: 0 stories, 32 comments · first 2014-11-11 · latest 2026-07-20
20082026
-
…Using CA to tell a metaphorical narrative of the organisms polluting their own environment. https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... (Yes it's unnecessariy complicated code, and don't get me started about why it…
comment by DonHopkins · 2026-07-20 · in Cagire: Live Coding in Forth -
…tps://github.com/SimHacker/micropolis/tree/master/Micropol... The JavaScript CAM6 simulator: CAM6.js: https://github.com/SimHacker/CAM6/blob/master/javascript/CAM...
comment by DonHopkins · 2026-07-19 · in Cagire: Live Coding in Forth -
…CAM6 Cellular Automata Machine simulator. Live App: https://donhopkins.com/home/CAM6 Github Repo: https://github.com/SimHacker/CAM6 Javacript Source Code: https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... Comments from the…
comment by DonHopkins · 2026-04-12 · in Tofolli gates are all you need -
…nine loads per cell in the inner loop. Here are the comments about optimization from the CAM6 code: https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... // Optimization Techniques // // Extra copying is eliminated by swapping…
comment by DonHopkins · 2025-02-13 · in Ask HN: What's the best implementation of Conway's Game of Life? -
…p://www.researchgate.net/publication/44522568_Cellular_au... https://donhopkins.com/home/cam-book.pdf https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... themodelplumber on March 20, 2022 | prev [–] I'm curious, how did the…
comment by DonHopkins · 2025-01-14 · in Reversible computing escapes the lab -
…iterate over the pixels just inside the gutters, so you don't have to perform any bounds checks. https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... // Optimization Techniques // // Extra copying is eliminated by swapping…
comment by DonHopkins · 2024-06-17 · in SimCity in the web browser using WebAssembly and OpenGL -
…user interface if you want to build a non-trivial machine (especially a self replicating one!) https://github.com/SimHacker/CAM6/blob/cbad2920fd0fab5b35baf... More about the theory of self reproducing cellular automata:…
comment by DonHopkins · 2024-06-16 · in SimCity in the web browser using WebAssembly and OpenGL -
…90 degrees each frame ("spinning scan") to spread the drift out evenly in all directions over time. https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... // Rotate the direction of scanning 90 degrees every step, // to cancel out…
comment by DonHopkins · 2023-08-07 · in My history with Forth and stack machines (2010) -
…CAM6 Cellular Automata Machine simulator. Live App: https://donhopkins.com/home/CAM6 Github Repo: https://github.com/SimHacker/CAM6/ Javacript Source Code: https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... PDF of CAM6 Book:…
comment by DonHopkins · 2023-01-28 · in Making Sandspiel -
…CAM6 Cellular Automata Machine simulator. Live App: https://donhopkins.com/home/CAM6 Github Repo: https://github.com/SimHacker/CAM6/ Javacript Source Code: https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... PDF of CAM6 Book:…
comment by DonHopkins · 2022-11-22 · in Ask HN: What weird technical scene are you fond/part of? -
…and they make great virtual pets, kind of like digital tribbles, but not as cute and fuzzy. https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... Second, the physical mechanical and potentially dangerous kind, which is robust and…
comment by DonHopkins · 2022-09-24 · in Theory of Self Reproducing Automata (1966) [pdf] -
…the x/y/time phases as additional bits to determine the Margolus neighborhood lookup table index. https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... Here's how my CAM6 emulator computes the CAM6-hardware-compatible Margolus…
comment by DonHopkins · 2022-05-09 · in Making a falling sand simulator -
…http://www.researchgate.net/publication/44522568_Cellular_au... https://github.com/SimHacker/CAM6/blob/master/javascript/CAM...
comment by DonHopkins · 2022-03-19 · in Ask HN: What book changed your life? -
…far beyond classic Conway. Your CAM6 library[1] may be about to steal my weekend from me! [1] - https://github.com/SimHacker/CAM6
comment by rikroots · 2022-03-04 · in It's always been you, Canvas2D -
…"ANNEAL" on the water/land plane, and (for giggles) a heat diffusion in the upper left-over planes. https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... [More discussion and code in the original post...]…
comment by DonHopkins · 2020-04-12 · in John Conway has died -
…and they make great virtual pets, kind of like digital tribbles, but not as cute and fuzzy. https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... Second, the physical mechanical and potentially dangerous kind, which is robust and…
comment by DonHopkins · 2020-03-31 · in Von Neumann Universal Constructor -
…paint anything non-trivial with the CA painting tools that this version of CAM6 currently supports. https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... I've tried to document what everything means and describe how it works.…
comment by DonHopkins · 2020-03-31 · in Von Neumann Universal Constructor -
…"ANNEAL" on the water/land plane, and (for giggles) a heat diffusion in the upper left-over planes. https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... Here are the guts of the rule (omitting the heat diffusion layer…
comment by DonHopkins · 2020-02-27 · in Show HN: Ecosim – A cellular ecosystem simulator toy for Linux written in C -
…and they make great virtual pets, kind of like digital tribbles, but not as cute and fuzzy. https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... Second, the physical mechanical and potentially dangerous kind, which is robust and…
comment by DonHopkins · 2020-02-11 · in Growing Neural Cellular Automata: A Differentiable Model of Morphogenesis -
…and they make great virtual pets, kind of like digital tribbles, but not as cute and fuzzy. https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... Second, the physical mechanical and potentially dangerous kind, which is robust and…
comment by DonHopkins · 2019-12-22 · in Can Programming Be Liberated from the von Neumann Style? (1977) [pdf] -
…to it! You don't need to understand the code, which is pretty esoteric, just notice the patterns.) https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... // Load the right two columns of the 3x3 window. n = cells[cellIndex -…
comment by DonHopkins · 2018-08-30 · in Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node -
…into some nice interactive playing and editing tool like LifeView. http://donhopkins.com/home/CAM6 https://github.com/SimHacker/CAM6 It's really hard to make one user interface or visualization that works well for all rules. A cellular…
comment by DonHopkins · 2018-03-09 · in Elementary Knightship found in Conway's Game of Life -
…a speck of dust on a window pane! https://en.wikipedia.org/wiki/Diffusion-limited_aggregation https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... https://www.youtube.com/watch?v=LuvIBOTReFE JVN29:…
comment by DonHopkins · 2017-12-26 · in Reversible Computing (2016) [video] -
…any modification and only a little repackaging, which is another nice benefit of TypeScript. https://github.com/SimHacker/CAM6/blob/master/javascript/CAM...
comment by DonHopkins · 2017-11-09 · in Ask HN: Which TypeScript codebase should I study to get better? -
…up or down or diagonally to get the clockwise, counter clockwise or opposite cell in the 2x2 block. https://github.com/SimHacker/CAM6/blob/master/javascript/CAM...
comment by DonHopkins · 2017-10-26 · in Cryptography with Cellular Automata (1985) [pdf] -
…90 degrees each frame ("spinning scan") to spread the drift out evenly in all directions over time. https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... // Rotate the direction of scanning 90 degrees every step, // to cancel out…
comment by DonHopkins · 2017-10-25 · in Boustrophedon -
The doc's in the comments! ;) https://github.com/SimHacker/CAM6/blob/master/javascript/CAM...
comment by DonHopkins · 2017-06-02 · in Oh My Gosh, It’s Covered in Rule 30s -
…https://en.wikipedia.org/wiki/Toffoli_gate [3] https://en.wikipedia.org/wiki/Norman_Margolus [4] https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... [5] https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... [6]…
comment by DonHopkins · 2017-01-28 · in Scientists unveil new form of matter: Time crystals -
…[4] http://donhopkins.com/mediawiki/index.php/CAM6_Simulator [5] https://github.com/SimHacker/CAM6/blob/master/javascript/CAM...
comment by DonHopkins · 2016-06-12 · in Image Dithering: Eleven Algorithms and Source Code -
…weird hybrid Margolis cellular automata neighborhood, which has a lot of two-dimensional patterns: https://github.com/SimHacker/CAM6/blob/master/javascript/CAM...
comment by DonHopkins · 2016-03-29 · in How to reduce the cognitive load of your code -
…effect the heat diffusion -- think of it like the pollution layer in SimCity. Source: [4] [4] https://github.com/SimHacker/CAM6/blob/master/javascript/CAM...
comment by DonHopkins · 2015-03-30 · in Why Aren't We Reading Turing? -
…of stimulus conditions (alarms), which I call "Yuppy Worms", "Hipster Worms" and "Bohemian Worms": https://github.com/SimHacker/CAM6/blob/master/javascript/CAM... The "Yuppy Worms" are all uptight, geometrical and diagonal. The "Hipster…
comment by DonHopkins · 2014-11-11 · in What neurons tell us about the 'hipster effect' when contrarians look the same