Three Blocks

Gaussian morph / source

Open preview
webgpu_gaussiansplat_splat/source-main.jsPlain text ↗
import * as example from './source.js';
import { mountGalleryExample } from '../runtime/mount.js';
let dispose;
export async function mount(container) { await unmount(); dispose = await mountGalleryExample("webgpu_gaussiansplat_splat", example, container); }
export async function unmount() { if (dispose) { const cleanup = dispose; dispose = undefined; await cleanup(); } }