In the spirit of Halloween I decided to try and make a pumpkin generator.
Here's the code:
Ring_thickness = 10;//[.1:.01:10]
Ring_density = 200;//[60:1:360]
Ring_diameter = 40;//[.1:.01:100]
Inside_diameter = .10;//[.1:.01:100]
Line_shape = 100;//[3:1:100]
Circle_outside_shape = 100;//[3:1:100]
Tilt_angle = 90;//[90:.1:360]
for (i=[0:.05:6])
rotate(i*-Ring_density)
translate([Ring_diameter,Inside_diameter,0])
rotate(a=[Tilt_angle,0,0])
rotate_extrude($fn=Circle_outside_shape)
translate([Ring_diameter,0])
circle(Ring_thickness,$fn=Line_shape);
It can also make some cool designs for coasters by adjusting the tilt angle and making it flat: