Add Orbit scene
Some checks failed
Check & deploy / build (push) Failing after 17s

This commit is contained in:
Andras Schmelczer 2026-06-11 23:02:33 +01:00
parent a3b06062ff
commit b2d893a225
3 changed files with 368 additions and 117 deletions

View file

@ -21,7 +21,7 @@ import { RainScene } from './scenes/rain/rain-scene';
import { TunnelScene } from './scenes/tunnel-scene';
import './styles/index.scss';
const scenes = [TunnelScene, MetaballScene, OrbitScene, RainScene, BlobScene];
const scenes = [TunnelScene, MetaballScene, RainScene, RainScene, BlobScene, OrbitScene];
Random.seed = 2;
glMatrix.setMatrixArrayType(Array);
@ -82,7 +82,7 @@ const main = async () => {
try {
let i = 0;
for (;;) {
for (; ;) {
const currentScene = new scenes[i++ % scenes.length]();
await currentScene.run(canvas, overlay);