Controls
Benchmark
Runs fixed workloads with warmup frames, repeated samples, p50/p95 FPS and frame timing, workload counters, pipeline timings, and JSON output.
import * as EASEL from "easel";
const scene = new EASEL.Scene();
const camera = new EASEL.OrthographicCamera({
left: -size * aspect,
right: size * aspect,
top: size,
bottom: -size,
near: 0.1,
far: 100,
});
const mat = new EASEL.BasicMaterial({ color: 0xe06060 });
mat.wireframe = true;
const mesh = new EASEL.Mesh(new EASEL.SphereGeometry(1.0, 12, 9), mat);
scene.add(mesh);
import * as THREE from "three";
const scene = new THREE.Scene();
const camera = new THREE.OrthographicCamera(
-size * aspect, size * aspect, size, -size, 0.1, 100,
);
const mat = new THREE.MeshBasicMaterial({
color: 0xe06060,
wireframe: true,
});
const mesh = new THREE.Mesh(new THREE.SphereGeometry(1.0, 12, 9), mat);
scene.add(mesh);