Available Energy at each step:

Browser not supported for Canvas. Get a real browser.
The 2D Cellular Automaton above implements the standard 'Game of Life' rules. Additionally, it enforces a global energy limit (shift the slider around to change).