Skip to main content
100%

Javascript

✓ Published0🌍 Public
SShane Carey
Last edited Sep 26, 2019
Created on Sep 26, 2019
Forked from Hello VizHub

This example demonstrates a basic canvas-based drawing application. Users can sketch freehand on the canvas by dragging the mouse, with sliders and color pickers to adjust pen width and color. The code uses JavaScript with the HTML5 Canvas API, including methods like `ctx.lineTo`, `ctx.stroke`, and `ctx.clearRect` to manage drawing and erasing. It is a direct illustration of interactive vector graphics in the browser, independent of D3.js.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes