20 lines
410 B
OpenSCAD
20 lines
410 B
OpenSCAD
|
|
||
|
$fn=24;
|
||
|
//size=5;
|
||
|
module sun(size){
|
||
|
color("blue");
|
||
|
circle(size);
|
||
|
for(spot=[0:30:360]){
|
||
|
translate([sin(spot)*(size*1.5),cos(spot)*(size*1.5),0]) // position control with radius multiplier
|
||
|
rotate([0,0,-spot])
|
||
|
square([size/5, size/2],center=true);
|
||
|
};
|
||
|
}
|
||
|
|
||
|
color("blue") sun(5);
|
||
|
|
||
|
translate([-20,0,0])
|
||
|
color("red") sun(1);
|
||
|
|
||
|
translate([30,0,0])
|
||
|
color("yello") sun(10);
|