Happy Holidays! SVG diddy (2d)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Happy Holidays! SVG diddy (2d)

kipplebits
Hello all, it's been awhile, I was recently trying to generate some complex
curves in Gimp, only to realize there is not a good method in built to Gimp.
Happily I have discovered openSCAD has an export to svg. I did a little test
path generated with a for loop, and thought I would share it here. Happy
Holidays!

the link: https://www.thingiverse.com/thing:2734060

it's not complicated...

my_points = [for(i=[0:1:3600])
    [(50*cos(i/10)+5*cos(90*i/10)), (50*sin(i/10)+5*sin(90*i/10))]
];

polygon(points=my_points);

...although I'm happy to find a method of procedurally generating SVGs(and
another reason to use openSCAD)

Thank You Santa!


<http://forum.openscad.org/file/t2116/happy-holidays-openSCAD.png>
<http://forum.openscad.org/file/t2116/happy-holidays-gimp.png>
<http://forum.openscad.org/file/t2116/happy-holidays-gif-black.gif>



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org