Intro to Web Graphics with HTML5 Canvas
summary
Shows actual canvas code and demos: uses the Canvas 2D API methods and pixel ImageData, pulls in D3.js for d3.timer animation loop and scales, uses Albers USA projection and topo/GeoJSON for maps, and uses satellite.js to propagate orbits. Demonstrates 10,000 particles with fade trails and compositing modes (multiply/screen), renders a Julia set slowly because canvas is not GPU accelerated, compares SVG vs canvas (SVG fine to ~500–1,000 elements), and implements interaction via a hidden getImageData lookup canvas.
AI-written summary · about
chapters (17)
- 0:00Intro
- 1:04HTML5 Canvas
- 1:57Why Canvas
- 2:31Pixels
- 5:26Canvas Context
- 7:25Animations
- 9:19Particle Trails
- 10:00Live Forms
- 11:50compositing
- 14:27data visualization
- 15:31SVG vs Canvas
- 17:36Making the map
- 19:11Coding the satellites
- 22:20Changing the projection
- 24:25Interaction with Canvas
- 24:51Render everything twice
- 26:45Interactions
related talks
37mPainting with Data
33mVisualizations using SVG, Canvas, and WebGL in Vue
01h 08mThe quest for the graphical web
43mVisualizations using SVG, Canvas, and WebGL in Vue
15mGetting Weird with Video Manipulation and HTML5 Canvas
26mSVG, Canvas, and WebGL: The Power, the Beauty, and the Cost
33mRubyist's Guide to the Canvas API
42mRendering performance from the ground up
