Friday, September 1, 2017

0 - 1 Remapping Functions: Step

/* remapping functions */


for(i=[-0:1/160:1])translate([i,0])square([1/160, (step( (i),2/3,0.1))]);
    function step(v,bias,start=0, end=1) = v>=bias?end:start;
 

No comments:

Post a Comment