papertoy.dev
Build interactive prototypes in your browser,
with Javascript and Paper.js.
GDC 2025 (1)
DEMOS (2)
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 (2)
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 →
GAMEPLAY (1)