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.

DarkBASIC Discussion / filled ellipse?

Author
Message
That1Smart Guy
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 23rd Jun 2009 06:22
ok I found a way to make a filled circle using distance formula and these two functions:



now how could I make a filled ellipse, either using a similar method or not

There are only 10 kinds of people in the world, those who understand binary and those who dont
Latch
17
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 23rd Jun 2009 06:33 Edited at: 24th Jun 2009 00:32
easy but slow ways:

circle:


ellipse


Enjoy your day.
Phaelax
DBPro Master
21
Years of Service
Recently Online
Joined: 16th Apr 2003
Location: Metropia
Posted: 23rd Jun 2009 07:56
I believe this is what you want: http://dbchallenge.com/showcode.php?snippet=11

[url="http://dbcc.zimnox.com"][/url]
That1Smart Guy
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 23rd Jun 2009 17:38
@Phaelax:

wow thats exactly what I wanted!


@latch:

that would also work, never even thought of that

There are only 10 kinds of people in the world, those who understand binary and those who dont

Login to post a reply

Server time is: 2024-05-20 13:27:47
Your offset time is: 2024-05-20 13:27:47