This is my notepad where i collect the useful snippets of OpenSCAD code that i use over and over. Some better curated than others, some formatted for clarity some for efficiency.
for(i=[-0:1/160:1])translate([i,0])square([1/160, ( ( smooth2(i) )) ]); function smooth2(x,k=5,n=4) =1- (exp( -k*pow(x,n) ));
No comments:
Post a Comment