Diorama

Made for a big screen.

This site is one 3D scene, built for a computer: a wide window and a mouse. Open dioramajs.dev on a desktop or a laptop to see it.This site is one 3D scene, built for a wide window. Make this one wider, or open dioramajs.dev on a larger screen.

GitHub

DioramaDocs

trace function

The wave of `POINTS` from analyser bytes: from the first rising zero crossing, so a steady tone stands still, averaged down from SPAN samples and tapered to the middle line at both ends.

View as Markdown
import { trace } from '@dioramajs/audio/visualizer'

.

function trace(samples: ArrayLike<number>, out: Float32Array): void

Parameters

NameTypeDescription
samplesArrayLike<number>
outFloat32Array

Defined in packages/audio/src/visualizer.ts.