[x] The grid is the wrong color the first time it's turned on.
[x] Changing the Cell Size in drawing mode doesn't take effect until the sim starts.
[X] Profile running the sim with rectangles vs circles. I suspect rects are faster in bulk.
[X] Possibly remove the coloring of cells to speed it up.
[x] The grid is skewed for some aspect ratios. Sometimes there is an empty row. It would be better to have overflowing cells.
[x] Move the templates into the drawing worker.
[x] Can break the app by setting no value for the cell size. Should constrain to integers in the set [5,?].
[x] Remove the fields Age, Width, Height, State from Cell. This should reduce the Heap and serialization time for large sets.
[x] When in drawing mode, if the drawing hasn't changed, don't request cells and don't redraw.
[x] Migrate all SEND_CELLS calls to transferable array buffers.
Do this for the drawing and life sim. Both directions. This might help remove the initial white
screen when initializing from a large scene.
[x] Remove the sorting step on LifeSystemWorkerController.processScene.
[x] Redraw the canvas when in drawing mode if the user toggles the tree checkbox.
[ ] The DOM element count starts at ~1k and grows when the context menu is created. What is
going on? How does LitElement handle adding and removing from the DOM? I expect the
DOM count to be a few hundred.
[ ] Optimize the drawing. The app hangs on large monitors or if the cell size gets too small on small monitors.
The drawing renderer should progressively render when building large templates.
Context Menu
[x] Start/Stop Toggle
[x] Populate with Random
Display/Hide Grid Toggle
Display/Hide Tree Toggle
Merge the Seeder with the Templates
[X] Change the random seeder to not randomly select 1 or 0 but rather be a dice roll for the number of neighbors. It should follow the born rules to decide if the cell is alive or not.
[x] Make the seed generation display before starting the simulation.
[x] Remove the noise libraries. They don't add much.
[x] The screen flashes to white when rendering a large drawing. This is due to the drawing working being cleared, then the seeder set, then the time to start the sim. The seeder should just go away, the Life Sim's cells should be set and the sim started. I want the first sim tick to have the same cells as the drawing.
The road to completion.
Bugs
The drawing renderer should progressively render when building large templates.Context Menu
Display/Hide Grid ToggleDisplay/Hide Tree ToggleMerge the Seeder with the Templates
Templates
GUI
Project Health