Live data from Hacker News

Zdog – Pseudo-3D JavaScript engine for Canvas and SVG

zzz.dog

1–10 of 96 posts

Re: Zdog – Pseudo-3D JavaScript engine for Canvas and SVG

#3
Pop this on product hunt, you'll get your first few thousand users in no time.

> Zdog is directly inspired by Dogz, a virtual pet game by P.F. Magic released in 1995. It used flat 2D circle sprites to render the Dogz’ models, but in a 3D scene. See Dogz playthrough video here. Dogz were fully animated in real time, running, flopping, scratching (on Windows 3.1!). It was remarkable.

The new repeating the old. Love when someone looks historically, finds a great idea and re-implements it for a new usecase!

Re: Zdog – Pseudo-3D JavaScript engine for Canvas and SVG

#6
I notice that there are some issues with depth sorting (which I guess would be expected). It'd be complicated, but one way you could do the same effect without that issue is to use signed distance fields in a shader:

https://www.iquilezles.org/www/articles/distfunctions/distfu...

(Demo at the bottom of the page)

Re: Zdog – Pseudo-3D JavaScript engine for Canvas and SVG

#10
post #8

Are there similar libraries for charting and plotting data? That would be super useful for visualizing complex datasets - in a 3d space.

I found vpython extremely helpful for visualizing an aerodynamic model of one of our parachute systems at work

https://vpython.org/

Post reply on HN