circles
flower
parabola
conic
I'm not releasing the foo variation yet, because it's just plain weird and could use some more work. I've added the above variations onto Gygrazok's Z+ version, so you can mash up all the variations as you see fit. Be forewarned that I was unable to compile the inline assembly code, so this version will run a little slower than Apo2.05b2 until I figure out how to compile the inline asm blocks. Also, I am no mathematician -- I am a hack, and proabably don't understand what the hell I'm doing. So, there may be redundancy with these variations. Please understand, this is just me, goofing around, having fun. I'm only distributing this garbage because there was some interest. I've barely used or tested these variations so far, myself. So, with that disclaimer, if you want, you can download the cyberxaos Apo version, full of C+ goodness, right here:
Apo2.05b2Z+C+ executable
Apo2.05b2Z+C+ source
Use at your own risk! FYI, I will not be providing any technical support. I'll be out of town for the next couple of weeks, so you're on your own kids! Enjoy
p.s. I'd love to see what, if anything, you create with this. So, if you create something cool, please drop me a comment or a note
p.p.s. I zipped the entire contents of my Borland project directory, so there might be a bit of garbage in the source tree
Devious Comments
--
*Apophysis
I'm gonna get to playing with it right away!
--
Avatar fueled by the lovely =psivamp
Subscription fueled by the lovely *TearsAndThunder
[link]
Thank you for helping me smile.
--
*Apophysis is back
I think the x and y coordinates are switched in Circle. Adding a linear-like variation to it stretches diagonal. If you add fisheye, which is the same as eyefish with the coordinates mixed
--
*Apophysis is back
theta = arctan2(y, x);
tx = cos(theta);
ty = sin(theta);
which is the same as
h = hypot(x, y);
tx = x / h;
ty = y / h;
hypot(x,y) calculates the norm, or length of the hypotenuse, on a right triangle with sides x and y.
hypot(x,y) = sqrt(x*x + y*y)
If you know any physics or vector math, then you might recognize this as vector normalization. Your code does the same thing in an indirect way. theta is one of the angles of a triangle with sides of length x and y. cos(theta) and sin(theta) are the lengths of a similar triangle with a hypotenuse of length 1.
I'm pretty sure this hypot code is faster than calling arctan2, sin and cos.
--
*Apophysis
Thanks for providing a good base for me to add some variations too -- some of the ones I just added might work well with some of yours...
Did I mention? I'm a hack
Previous Page12345...Next Page