HTML5 Canvas Rendering

Comments discuss suggesting or debating the use of HTML5 Canvas for graphics rendering and UI in web apps, often proposing it as a performant alternative to DOM, SVG, or new frameworks.

📉 Falling 0.5x Web Development
4,005
Comments
20
Years Active
5
Top Authors
#4791
Topic ID

Activity Over Time

2007
6
2008
47
2009
104
2010
326
2011
240
2012
253
2013
233
2014
169
2015
218
2016
135
2017
187
2018
165
2019
217
2020
248
2021
318
2022
327
2023
253
2024
278
2025
266
2026
15

Keywords

CSS JS contextis.com WEBASM WebView HTML5 Raphael.js JavaScript HTML jsfiddle.net canvas rendering 2d svg dom webgl html drawing js element

Sample Comments

JKCalhoun • Jun 11, 2022 • View on HN

Why not just use canvas/HTML5? Seems do-able.

endless1234 • Dec 19, 2017 • View on HN

Why couldn't you do that now with canvas?

splatcollision • Mar 9, 2016 • View on HN

It's rendering to a so no reason why not...

CoryMathews • Apr 22, 2010 • View on HN

isn't this was canvas and svg are for?

TimTheTinker • Oct 11, 2021 • View on HN

Why not switch to canvas rendering though?

doki_pen • Apr 30, 2010 • View on HN

Looks like it doesn't use canvas. I would expect that performance will suck and it won't get any better in the future. Am I wrong?

untog • Jan 24, 2019 • View on HN

It's just rendering to a canvas tag so it's not doing anything you can't already do in a browser (and haven't been able to do for years)

archagon • Feb 1, 2016 • View on HN

This is fantastic! Would be great to get it running in canvas.

marshray • Aug 23, 2013 • View on HN

You might like or SVG then.

dmazzoni • Jul 22, 2024 • View on HN

Canvas is better...if you're trying to do something that stays within a fixed-size box.