Notifications
Clear all

[Closed] saw tooth mod function to a sinusoidal form

I’m very drunk, and my brain is fried and I’m struggling. I’ve got to the following

nsides = 12
nextrudes = 3
for i = 1 to nsides do (print (mod  (i) (nsides/nextrudes)))

when the value == 0 then in a twelve sided object that gives me the extrusion points. the problem is how to make it smoother given the “saw tooth” input. or am i barking up the wrong tree

1 Reply

doh!!! just need s a sine wave with the correct period !