Hacker GitHub

← All repos

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

Mentions per year 32 mentions · busiest year 2017 (6)
20082026
  1. …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
  2. …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
  3. …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
  4. …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…
  5. …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
  6. …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…
  7. …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:…
  8. …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…
  9. …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
  10. …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:…
  11. …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…
  12. …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
  13. …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?
  14. …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
  15. …"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
  16. …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
  17. …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
  18. …"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…
  19. …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…
  20. …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…
  21. …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 -…
  22. …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…
  23. …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]
  24. …any modification and only a little repackaging, which is another nice benefit of TypeScript. https://github.com/SimHacker/CAM6/blob/master/javascript/CAM...
  25. …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...
  26. …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
  27. 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
  28. …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]…
  29. …[4] http://donhopkins.com/mediawiki/index.php/CAM6_Simulator [5] https://github.com/SimHacker/CAM6/blob/master/javascript/CAM...
  30. …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
  31. …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?
  32. …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…