Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Drawing pad

Public visualization

Drawing pad

0 stars1🌍 Public
CCora
Last edited Jan 31, 2025
Created on Jan 25, 2025
Forked from Sunset on Fundy

This interactive drawing application allows users to paint freeform strokes on a Canvas element. It uses a toolbar to select stroke color and line width, and includes a clear button to reset the drawing surface. The code uses the Canvas `getContext`, `lineTo`, and `stroke` methods to render paths as the user drags the mouse, with the canvas resizing to fit the window. The interface is styled with CSS flexbox and a gradient title.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed