Lazyoval - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3) +---- Forum: Programs (https://qb64phoenix.com/forum/forumdisplay.php?fid=7) +---- Thread: Lazyoval (/showthread.php?tid=583) |
Lazyoval - James D Jarvis - 07-04-2022 Ovals, well... lazy ovals. Code: (Select All) 'LazyOval RE: Lazyoval - SierraKen - 07-09-2022 That's pretty neat James, a lot more math than I know how to do. Usually when I want an oval, I use the CIRCLE command's number on the very end. It changes it from a circle, which is 1, to different shapes of the oval lesser or more than 1. Here is an example I just threw together for you: Code: (Select All) Screen _NewImage(800, 600, 32) RE: Lazyoval - James D Jarvis - 07-09-2022 Decent, but ick...math. Joking of course, my track in college was "Applied Mathematics/Computer Science", I've forgotten more maths than most folk ever learned. Every now and again it's fun to develop a snippet of code that just "brute-forces" a simple solution. RE: Lazyoval - SierraKen - 07-10-2022 LOL cool |