G-Code-Friendly Smooth Fractal

Hey, it looks like I invented a new flavor of fractals well suited for laser engraving! Here it is:

engraved

Here is another example:

example

But wait a minute, wasn’t this fractal out there for a long time?

Well, there was a similar one. I even wrote an implementation of it in Scratch:

scratch

However, that one was line-based. Mine is arc-based. See how smooth it is?

smooth_fractals

Why arc, not Bezier splines or some other cool curves? Well, G-code only supports arcs. So I had to come up with some math to smoothly connect arcs with different radiuses.
As usual, here are the sources, binaries and examples in a case you are interested:

Binaries, Sources, Examples

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>