initially have 4 particles, physics, skeleton

This commit is contained in:
root 2025-05-14 04:12:49 +00:00
parent b10bed8954
commit 8a3fb1ddff

View file

@ -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() {