This math investigation focuses on precision and accuracy.
//table
color("BurlyWood")translate([-100,0,-5])cube([100,100,5]);
// logarithm to the base 10
for(x=[0:1:10]){
y=10*log(x+1);
color( [0.5+sin(10*x)/2, 0.5+sin(10*y)/2, 0.5+sin(10*(x+y))/2] )
translate([-10+y,10,x])cube([10,5,1]);
}
//exponential
for(x=[0:1:10]){
y=pow(1.3,x+1);
color( [0.5+sin(10*x)/2, 0.5+sin(10*y)/2, 0.5+sin(10*(x+y))/2] )
translate([-1.3-10+y,40,x])cube([10,5,1]);
}
//linear
for(x=[0:1:10]){
y=1.8*x;
color( [0.5+sin(10*x)/2, 0.5+sin(10*y)/2, 0.5+sin(10*(x+y))/2] )
translate([y-10,70,x])cube([10,5,1]);
}