This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
https://www.desmos.com/calculator/4os2lkz41w
https://en.wikipedia.org/wiki/3D_projection#Mathematical_formula
I've been wanting to do this for a while and I finally did it :D
I pretty much just copied equations from the wiki article. I just need help with a few small things.
Firstly, how do I add perspective? At the bottom of the page there is another list of points that is disabled. It takes e_x, e_y, and e_z into its calculations (from the wiki article I linked). I think that has something to do with perspective and FOV but it makes everything work weird and I can't figure it out.
Next, how would I add lines between the points?
Lastly, how can I make the rotation control point a bit more interactive? I'm not sure if "interactive" is the right word but currently it only controls x and y rotations, so it would be cool if it could also do z rotations somehow.
Also, this is not really related to this project too much but I figured I'd ask: Is it possible to use some of the techniques I used here to project a 3d equation into the 2d plane? I am particularly interested in rotating a sine wave into the corkscrew shape.
Subreddit
Post Details
- Posted
- 3 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/desmos/comm...