initially have 4 particles, physics, skeleton
This commit is contained in:
parent
b10bed8954
commit
8a3fb1ddff
1 changed files with 3 additions and 3 deletions
|
@ -11,8 +11,8 @@ const SURFACE_CIRCLES = 1;
|
||||||
const SURFACE_EARTH = 2;
|
const SURFACE_EARTH = 2;
|
||||||
|
|
||||||
let surface = SURFACE_CIRCLES;
|
let surface = SURFACE_CIRCLES;
|
||||||
let physics = false;
|
let physics = true;
|
||||||
let skeleton = false;
|
let skeleton = true;
|
||||||
let polytope = false;
|
let polytope = false;
|
||||||
let charge = -1;
|
let charge = -1;
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ function setup() {
|
||||||
buttons_surface[surface].disabled = true;
|
buttons_surface[surface].disabled = true;
|
||||||
|
|
||||||
input_particles = document.getElementById("input-particles");
|
input_particles = document.getElementById("input-particles");
|
||||||
input_particles.valueAsNumber = particles.length;
|
make_particles(4);
|
||||||
}
|
}
|
||||||
|
|
||||||
function windowResized() {
|
function windowResized() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue