papertoy.dev
Build interactive prototypes in your browser,
with Javascript and Paper.js.
GDC 2025 (1)
DEMOS (3)
demos
Control Decorators Demo
Demonstrates the @control decorator system - control variables interactively without editing code!
Open in editor →
Gamepad
demos
Simple gamepad cursor
This demo shows how to make a cursor controllable by a gamepad. You can hover and click on a few buttons with it.
Open in editor →
demos
2D Vector Drawing
This demo shows more advanced drawing features, with a 2D island map-like view.
Open in editor →
UI (3)
ui
HUD Aiming crosshair
This demo recreates the Bow aiming crosshair from The Last of Us 2.
Open in editor →
ui
Timer
This demo shows how to display a hh:mm timer with a smooth feedback for the seconds.
Open in editor →
Mouse
ui
Click Events
This demo shows how to handle click events on the canvas.
Open in editor →
GAMEPLAY (1)