grid size change
This commit is contained in:
2
dist/bundle.js
vendored
2
dist/bundle.js
vendored
File diff suppressed because one or more lines are too long
2
dist/html/index.html
vendored
2
dist/html/index.html
vendored
@@ -28,7 +28,7 @@
|
|||||||
<br>
|
<br>
|
||||||
<h3>Grid Size</h3>
|
<h3>Grid Size</h3>
|
||||||
<label for="cell-size">Cell Size:</label>
|
<label for="cell-size">Cell Size:</label>
|
||||||
<input type="number" id="cell-size" min="1" max="100" value=3 step="1">
|
<input type="number" id="cell-size" min="1" max="100" value=4 step="1">
|
||||||
<label for="fill-window">Fill Window</label>
|
<label for="fill-window">Fill Window</label>
|
||||||
<input type="checkbox" id="fill-window" checked>
|
<input type="checkbox" id="fill-window" checked>
|
||||||
<div class='col-row-input'>
|
<div class='col-row-input'>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ const render_speed = 60;
|
|||||||
class Engine{
|
class Engine{
|
||||||
constructor(){
|
constructor(){
|
||||||
this.fps = 60;
|
this.fps = 60;
|
||||||
this.env = new Environment(3);
|
this.env = new Environment(4);
|
||||||
this.organism_editor = new OrganismEditor();
|
this.organism_editor = new OrganismEditor();
|
||||||
this.controlpanel = new ControlPanel(this);
|
this.controlpanel = new ControlPanel(this);
|
||||||
this.env.OriginOfLife();
|
this.env.OriginOfLife();
|
||||||
|
|||||||
Reference in New Issue
Block a user