# soulwire/sketch.js

Cross-Platform JavaScript Creative Coding Framework

Repository: https://github.com/soulwire/sketch.js
Canonical: https://ross.abutalabs.com/products/sketchjs
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2023-09-16T03:41:59+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5168, "days_push": 1082, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4122, forks 433 (observed 2026-08-28T04:08:35.986360+00:00)

## What it is
A tiny (~2kb gzipped) JavaScript creative coding framework that provides a graphics context, animation loop, and normalized input events. It removes boilerplate so developers can focus on drawing and interactive visuals in the browser.

## Use cases
- create generative art in the browser
- build interactive canvas sketches with mouse and touch input
- prototype particle systems and visual experiments
- use WebGL or Canvas2D without boilerplate setup
- teach creative coding with a minimal API
- combine with THREE.js by supplying a custom context

## When to choose
- you want a minimal, dependency-free creative coding setup
- you need unified mouse and touch event handling
- you want an easy animation loop with setup/update/draw callbacks
- you want to pair a sketch loop with libraries like THREE.js

## When to avoid
- you need a full-featured game engine or physics engine
- you require long-term active maintenance and frequent updates
- you need server-side or non-browser rendering
- you prefer a larger ecosystem like p5.js with extensive community resources

## Facets
- artifact type: library
- maturity: maintenance
- function: graphics, animation, gui
- domain: web-development, graphics
- platform: browser
- tags: creative-coding, canvas, webgl, generative-art, animation-loop, tiny-library, javascript

## Member repositories
- soulwire/sketch.js (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:35.986360+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:23:06.356277+00:00, confidence not recorded.
  - readme: https://github.com/soulwire/sketch.js (fetched 2026-08-28T04:08:35.986360+00:00, sha f450ee672ca8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
