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

landDots function

Unit vectors of the land dots: a Fibonacci spiral of `count` points over the sphere, kept where the mask is land.

View as Markdown
import { landDots } from '@dioramajs/globe/globe'

. The same on every load.

function landDots(count: number, cells: Uint8Array): Float32Array

Parameters

NameTypeDescription
countnumber
cellsUint8Array

Defined in packages/globe/src/globe.ts.