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

scan function

The folder's effects, one per code file (not `*.d.ts`, not `_private`) and per fragment shader without a code file of the same name.

View as Markdown
import { scan } from '@dioramajs/diorama/vite'

. Sorted by name. Bad or repeated names are skipped.

function scan(
  dir: string,
  shaders: boolean,
): { found: Found[]; skipped: string[] }

Parameters

NameTypeDescription
dirstring
shadersboolean

Defined in packages/diorama/src/vite.ts.