Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Playing with code: a circle function using triangle math
#8
I made substantial changes to that CIRCLE testing program I shared yesterday.  Substantial enough that I had to do a little write-up.

The program now also has two additional circle subroutines for performance comparison: Bresenham's circle algorithm and the midpoint circle algorithm.

Would you believe that my tiny "triangle-math-based" algorithms beats the other two by a hair?

Details in CIRCLE Algorithms Testing Enhanced
Reply


Messages In This Thread
RE: Playing with code: a circle function using triangle math - by CharlieJV - 09-15-2023, 01:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Filled Triangle for BAM? bplus 3 936 08-13-2023, 01:42 AM
Last Post: CharlieJV
  Just a tiny and fun bit of code CharlieJV 6 1,618 06-15-2023, 02:54 PM
Last Post: CharlieJV
  BAM and the CIRCLE statement CharlieJV 4 1,335 06-12-2023, 11:41 AM
Last Post: CharlieJV
  BAM program: Triangle Math Studying CharlieJV 0 434 06-08-2023, 02:29 AM
Last Post: CharlieJV
  The best kind of documentation let's you try your own code, right there CharlieJV 2 718 03-25-2023, 06:07 PM
Last Post: CharlieJV

Forum Jump:


Users browsing this thread: 1 Guest(s)