Elementary linear automaton in vanilla JavaScript Uses Ad Grid
Please observe, that configuration is to be considered as 1-finite, i.e number of 1s are finite, but to the left or right of visible configuration are 0s.
Ie if we see 1111111111, it is actually ....011111111110...., in other words - padded by 0s from sides
working version can be found here:
http://opiskelu.org/sovellukset/elementary-cellular-automata-online-with-wolfram-rule/