This is my little demo of drawing circles (withouth the inbuild love one ofcours )
you can change the size with "w" and "s" and you can change the amount of segments with "a" and "d"
Circle demo
Circle demo
- Attachments
-
- circles demo.love
- (493 Bytes) Downloaded 179 times
Re: Circle demo
That's not a circle....
- tentus
- Inner party member
- Posts: 1060
- Joined: Sun Oct 31, 2010 7:56 pm
- Location: Appalachia
- Contact:
Re: Circle demo
You may want to lock segments to > 2. I'm surprised that your code doesn't crash when that number dips into the negatives.
Still, cool. You're learning!
Still, cool. You're learning!
Kurosuke needs beta testers
Re: Circle demo
Astusvis, umm no
tentus, the segments dont crash because it uses Lua build in 'for begimnumber,endnumber,stepnumber do' loop
tentus, the segments dont crash because it uses Lua build in 'for begimnumber,endnumber,stepnumber do' loop
Re: Circle demo
Then why is it a "Circle demo"???
Re: Circle demo
Astusvis,
what do you mean?!
its makes a circle wich yo ucan change size and segments!
what do you mean?!
its makes a circle wich yo ucan change size and segments!
Re: Circle demo
THAT'S NOT A FUCKING CIRCLE!
A CIRCLE HAS NO CORNERS!
Seriously, I wonder how you can program when you don't know 4yr old math...
A CIRCLE HAS NO CORNERS!
Seriously, I wonder how you can program when you don't know 4yr old math...
Re: Circle demo
GOD DANGIT YA BLOODY BASTARD
HIGHER THE SEGMENTS AND YOU HAVE A CIRCLE
HIGHER THE SEGMENTS AND YOU HAVE A CIRCLE
Re: Circle demo
Nope, you're still wrong.
That would be, by definition, not a circle.
That would be, by definition, not a circle.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Circle demo
Guys. Stop with the shouting already. Like LÖVE's love.graphics.circle function, this demo approximates a circle if you make the resolution high enough. In actuality, they draw regular polygons.
Help us help you: attach a .love.
Who is online
Users browsing this forum: Google [Bot] and 1 guest