It occurs to me that some people like things more wavy than others. So today we're updating the Customizable TRI Function Bracelet design so that amplitude becomes a modifiable parameter. For example now you can make this wavier TRI model:
Thingiverse link: http://www.thingiverse.com/make:88142
Settings: Printed on a MakerBot Mini with .3mm vanilla (see Day 320) in MakerWare/Desktop.
Technical notes, OpenSCAD flavor: The only change we made to the code from Day 320 was to make the "4" a modifiable parameter called amplitude. Here is the relevant code:
// Amplitude of the wave, in mm (suggest between 4 and 8, with higher numbers being more flash but less practical; higher amplitude can allow smaller diameters)
amplitude = 8;
/////////////////////////////////////////////////////////
// define the wrapped wave function
function g(t) =
[ (radius+amplitude*(1+sin(3*t)))*cos(t),
(radius+amplitude*(1+sin(3*t)))*sin(t),
0
];