zdog | friendly pseudo-3D engine | Graphics library
kandi X-RAY | zdog Summary
kandi X-RAY | zdog Summary
Hi, Dave here. I wanted to make a video game. I needed a 3D engine, but most engines were too powerful and complex for me. I made Zdog so I could design and display simple 3D models without a lot of overhead. 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. Zdog uses the same principle. It renders all shapes using the 2D drawing APIs in either or . Spheres are actually dots. Toruses are actually circles. Capsules are actually thick lines. It’s a simple, but effective trick. The underlying 3D math comes from Rotating 3D Shapes by Peter Collingridge. Zdog is pronounced "Zee-dog" in American parlance or "Zed-dog" in British.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Creates a new Class .
- Update loop animation
- Set spinning .
- Adds a box of all options
- Creates a path command
- Rotate a vector .
- Calculates the magnitude of a number .
- Maps to a vector
- Animation animation loop .
- Remove all children .
zdog Key Features
zdog Examples and Code Snippets
Community Discussions
Trending Discussions on zdog
QUESTION
I'm trying to add react-spring to gatsby (Gatsby 3.13.0, React 17.0.2). When I type "npm i react-spring" such an error appears:
...ANSWER
Answered 2021-Oct-08 at 08:12I would install the specific target you are using. For example, since you're using gatsby
I assume you'll want @react-spring/web
this should resolve the issue with npm@7
.
QUESTION
I created a 3D model with Zdog which resizes based on the size of the screen. This works as expected:
...ANSWER
Answered 2021-Jan-17 at 22:56Solution:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install zdog
zdog.dist.js un-minified
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page