News for hackers. Stuff that matters.
Re:Hexagonal Langton's Ant 2 – Colors, Gliders and Highways by jones1618 on Sunday October 04, 2015 @01:35AM (#10326606)
Love it! Here are some cool patterns:

  * RPB - Looks like a 3D printer printing a bowl of Cheerios
  * PRLL - Simplest Eastbound highway
  * BRSS & BLPP - Nearly space-filling hex spirals
Re:Hexagonal Langton's Ant 2 – Colors, Gliders and Highways by brtmr on Sunday October 04, 2015 @11:41AM (#10327799)
Thanks! I have also discovered a pattern that is fully space-filling: BPBBP - will slowly fill the entire screen with a growing green hexagon, with a single yellow dot at the origin.
Re:Hexagonal Langton's Ant 2 – Colors, Gliders and Highways by FWeinb on Saturday October 03, 2015 @06:50PM (#10325706)
Great work! I build[1] a classic javascript interpreter for Langton's Ant a few years ago. Just updated it to include support for custom rules. Thanks for reminding me about Langton's Ant it is always cool to recall things one build in the past.

[1]: http://codepen.io/FWeinb/pen/CJpjl

Re:Hexagonal Langton's Ant 2 – Colors, Gliders and Highways by joshcorbin on Saturday October 03, 2015 @11:25PM (#10326308)
My versions of the same fwiw:

- https://jcorbin.github.com/hexant -- the hexagonal one I'm working on now

- https://jcorbin.github.io/ants -- the square grid one I made several years ago

Re:Hexagonal Langton's Ant 2 – Colors, Gliders and Highways by joshcorbin on Sunday October 04, 2015 @03:48AM (#10326829)
Re:Hexagonal Langton's Ant 2 – Colors, Gliders and Highways by brtmr on Sunday October 04, 2015 @11:48AM (#10327819)
woa. that looks awesome ;) what am i looking at - whats the rule? and are you also coloring the spaces the ant has already been on, but that reverted to their original state?
Re:Hexagonal Langton's Ant 2 – Colors, Gliders and Highways by joshcorbin on Sunday October 04, 2015 @12:08PM (#10327882)
It's not the most obvious UX but hit "/" to open the rules dialog, this rule set is "ant(2L 64F 2S)". Click through to the project page and check out the README for more info on the key binds: https://github.com/jcorbin/hexant.

The coloring trick is a recent addition I call "redraw tracing"; essentially there are two color palettes: one for "cold cells" and "hot cells" (ones that haven't/have been visited "recently").

What makes it "redraw" tracing is that "recent" is simply defined as "since last full redraw". Full redraws are triggered when the ant hits an edge of the screen.

I plan to expand the tracing to support "last-N" tracing where "recent" would mean something more comprehensible like "in the last 1024 iterations" f.e.

Re:Hexagonal Langton's Ant 2 – Colors, Gliders and Highways by brtmr on Sunday October 04, 2015 @11:45AM (#10327806)
Nice! I like how the world grows with the movement of the ant, as opposed to my rather boring static one
Re:Hexagonal Langton's Ant 2 – Colors, Gliders and Highways by rntz on Saturday October 03, 2015 @07:09PM (#10325761)
BSPSPSPSPSP - This program/configuration appears to execute a random walk. Hard to be sure.
Re:Hexagonal Langton's Ant 2 – Colors, Gliders and Highways by drdeca on Sunday October 04, 2015 @03:45AM (#10326821)
Well, it's deterministic, because the program is deterministic, but it certainly does look random.
Re:Hexagonal Langton's Ant 2 – Colors, Gliders and Highways by byron_fast on Sunday October 04, 2015 @02:57AM (#10326739)
So this is how the universe's only electron updates the state of every atom! Maybe.
Re:Hexagonal Langton's Ant 2 – Colors, Gliders and Highways by indrax on Sunday October 04, 2015 @02:01PM (#10328208)
BRL - seems to have rotational symmetry, grows very slowly, not sure if it repeats. Would make a good loading spinner.
Re:Hexagonal Langton's Ant 2 – Colors, Gliders and Highways by dpc_pw on Sunday October 04, 2015 @02:00AM (#10326657)
I'd love that as an animated android background.