Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Angled Ellipse

Author
Message
Proteus 1935
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Brazil
Posted: 7th Oct 2003 21:54
Here's little unfinished (but working) piece of code I've done to help people who would like to make an elliptical new*value clone,
By using the ellipse_radius(a#,b#,angle#,rotation#) with newXYZvalue...

Currently coding: 3d-2d latitude/longitude
Recent coding: elliptical orbits
Proteus
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 8th Oct 2003 00:40
Not bad But as you say unfinished.

You got me playing around with this idea for the best part of 2 hours This is the best I have so far.

Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
Proteus 1935
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Brazil
Posted: 8th Oct 2003 01:15
Nice!

Currently coding: 3d-2d latitude/longitude
Recent coding: elliptical orbits
Proteus
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 8th Oct 2003 21:13 Edited at: 9th Oct 2003 09:58
Did a little fine tuning, bit more efficient.

I can get a rotated ellipse drawn with 360 sides in about 1/50th of a second, which isn't too bad on my humble AMD 650.

Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.

Login to post a reply

Server time is: 2024-11-24 01:39:51
Your offset time is: 2024-11-24 01:39:51