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

@dioramajs/particles/emoji

Exports of @dioramajs/particles/emoji.

View as Markdown
On this page
import { default, glyphs, isPicture } from '@dioramajs/particles/emoji'

Functions

glyphsThe items of a list: words split on white space, a run of emoji with no spaces split into its emoji, repeats dropped. Pictures (URLs) stay whole, as do words of plain text such as `+1`.
isPictureA word of the list that names a picture rather than a glyph.

Constants

defaultEmoji, symbols or the site's own small pictures that float up from a reaction button, burst out of a success state, shoot up as a fountain or rain over a section. The list is drawn once into an atlas and every emoji is an instance of one draw. The element keeps its click, the drawing is canvas only, and under reduced motion nothing loads.
MAX_GLYPHSGlyphs and pictures in the atlas; the rest of the list is left out.
POOLEmoji in the ring every emission writes into: one instanced draw.