Ask HN: Best approaches for Javascript game graphics?

https://news.ycombinator.com/item?id=456032
by thomanil • 17 years ago
4 1 17 years ago

I'm wondering what the most viable approaches are for 2d (or 3d) graphics in straight browser Javascript?.

Canvas, SVG? Are there other straightforward approaches that offer primitive graphics operations like drawing lines, circles, pixels? Experiences and thoughts on this much appreciated.

(I recently wrote a dinky little javascript game [plug]messynotebook.com/?p=71[/plug]. Straight CSS+DOM worked for me in that case, but I'm looking into better ways of doing it next time.)

Related Stories

Loading related stories...

Source preview

news.ycombinator.com