Click here to Skip to main content
15,915,873 members
Articles / General Programming / Algorithms

Render Graphic Functions with Minimal Integer Math, Able to Drive CNC

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
30 Jun 2023GPL35 min read 3.5K   61   1  
This algorithm uses very simple integer math (add and multiply) to render arcs, lines, etc. to CNC machines or a computer surface.
This article provides the algorithm description, a graphic demostrator to better understand it and extensible sample code to do the actual work.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Software Developer (Senior)
Spain Spain
Involved in tecnology since 18, especially in "low level program". Started with electronics, z80 assembler, i86 assembler, PASCAL, C (microcontrollers), C++. Some awards won in electronic magazines. Some interesting m2m projects. Using and teaching linux since 1995. Degree in electronics.
Creative temperament. This made me well know at work by every folk soon.
Got fun in nature and travelling.

Comments and Discussions