From 25802ee97976fc5b4868ebbc1a8ebd8c596feb86 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Wed, 7 Jan 2026 19:44:39 -0800 Subject: Use julia gpu.js correct constructor --- src/toys/julia/julia.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/toys/julia/julia.js b/src/toys/julia/julia.js index 7727d48..38bcd4d 100644 --- a/src/toys/julia/julia.js +++ b/src/toys/julia/julia.js @@ -3,7 +3,7 @@ const MAX_ZOOM = 4; const C_THRESHOLD = Math.sqrt(2)/2; const SLIDER_DIV = 2000*C_THRESHOLD; -const gpu = new GPUX(); +const gpu = new GPU.GPU(); const buildRender = (width, height) => gpu.createKernel(function (maxIterations, cr, ci, centerX, centerY, zoom, colorMultipliers) { let zx = (this.output.x / this.output.y) * (centerX + (4 * this.thread.x / this.output.x - 2) * (zoom / 4)); let zy = centerY + (4 * this.thread.y / this.output.y - 2) * (zoom / 4); -- cgit v1.2.3-70-g09d2