How mdn/dom-examples works
dom-examples is a collection of standalone browser DOM and Web API demonstrations, not one integrated application. Its common user-to-result pattern is to open a demo, interact with its page, and observe a browser API effect; the demos do not share a runtime orchestrator. The graph groups the independent examples by capability and includes sampled implementations plus major areas visible in the tree and README. Connections between unsampled demos are intentionally omitted because there is no evidence they call or route to one another.
Main entry points: app.js Audio output · media Media examples · picture-in-picture/main.js Video picture-in-picture · document-picture-in-picture/main.js Document picture-in-picture
Components 22
Media and devices
- Audio output
audiocontext-setsinkid/app.js - Media examples
media - Video picture-in-picture
picture-in-picture/main.js - Document picture-in-picture
document-picture-in-picture/main.js - Screen capture
screen-capture-api
Graphics and presentation
- Canvas manipulation
canvas - CSS painting
css-painting - View transitions
view-transitions - WebGPU demos
webgpu-compute-demo/script.js
Storage and files
- IndexedDB
indexeddb-api/main.js - Web storage
web-storage/main.js - File system
file-system-api - Service worker gallery
service-worker/simple-service-worker/app.js
Page interaction
- Editing and forms
edit-context - Popovers
popover-api - Geolocation
geolocation-element - Pointer lock
pointer-lock/app.js
Platform and communication
- Web workers
web-workers - Web cryptography
web-crypto - Network messaging
websockets/main.js - Device and window APIs
device-posture-api
Other components
- Demo visitor
Connections 21
- Demo visitor → Audio output: interacts with
README.md - Demo visitor → Media examples: explores
README.md - Demo visitor → Video picture-in-picture: interacts with
README.md - Demo visitor → Document picture-in-picture: explores
README.md - Demo visitor → Screen capture: explores
README.md - Demo visitor → Canvas manipulation: explores
README.md - Demo visitor → CSS painting: explores
README.md - Demo visitor → View transitions: explores
README.md - Demo visitor → WebGPU demos: explores
README.md - Demo visitor → IndexedDB: interacts with
README.md - Demo visitor → Web storage: interacts with
README.md - Demo visitor → File system: explores
README.md - Demo visitor → Service worker gallery: explores
README.md - Demo visitor → Editing and forms: explores
README.md - Demo visitor → Popovers: explores
README.md - Demo visitor → Geolocation: explores
README.md - Demo visitor → Pointer lock: interacts with
README.md - Demo visitor → Web workers: explores
README.md - Demo visitor → Web cryptography: explores
README.md - Demo visitor → Network messaging: explores
README.md - Demo visitor → Device and window APIs: explores
README.md