Commit graph

9 commits

Author SHA1 Message Date
c5ed18f0ad Add Random Button Functionality
Adds random pattern toward the center of the canvas. Does not delete anything.
2018-07-07 22:02:04 +02:00
c5b62e6c9f Fix Reset & Step not working on first click
Rendering dirty flags were not updated accordingly, so the updates happened but were not pushed to be rendered. Added and moved additional dirty flag setters.
2018-07-07 21:43:24 +02:00
2d2365e606 Fix Simulation Reset not Replicating the Starting Pattern
Now keeps the original parameters for the first pattern of a grid stored and can replicate them reliably.
2018-07-07 21:42:07 +02:00
34bdd1ae81 Apply dartfmt 2018-07-07 20:49:02 +02:00
4b35dbe5fc Add Parameters for Dispersal and Amount of Cells 2018-07-07 20:47:23 +02:00
9816778d4b Allow Defining x and y for Patterns 2018-07-07 20:35:04 +02:00
964ba69c2e Add Grid Starting Patterns
can be common forms and random
2018-07-07 20:04:35 +02:00
70e33fe135 Fix Rendering when no Changes occured
Rendering checks a dirty flag which gets set whenever a cell updates by changing their state.
2018-07-07 19:08:26 +02:00
827ab83b88 Refactor Directories
Move Engine Files to /src Directory
2018-07-07 16:44:06 +02:00
Renamed from lib/Grid.dart (Browse further)