I figured out how to use distance formulas to determine if a point lies within a non-orthogonal rectangular region. I can see many possible applications of this and thought I would share my solution. I'm sure there is a more efficient way to do this, but this is the best solution I could come up with at the time that didn't involve vector math. I tried to comment my code to help people understand it better, but I didn't go into great detail with explaining the math. Anyway, It only took me about an hour to come up with this demo but I hope someone can find it useful.
I wanted to do something new and interesting. After searching around the BBS, I found that nobody had published any strange attractors(I love strange attractors) so I decided I would be the first. I created a Lorenz attractor visualizer in java a few months ago so I decided to port it to pico-8. Then this week just as I started working on my Lorenz attractor I saw this. I can't believe It. Anyway, since Mattias beat me to a Lorenz, I will make a Rössler attractor.
I'm still pretty new to pseudo 3D, pico-8, and Lua in general so I will use the 3D plotting engine Mattias made until I can finish porting mine :P
This spinoff will officially reserve the position of first Rössler attractor made/published in pico-8 :)
It will eventually be replaced with my own engine.
Do any of you know of any good resources I can use to learn about 2D to 3D projections and other pseudo-3D related stuff? I rarely do anything with 3D and the little I have done used 3D engines like OpenGL.