Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function jackInTheBox(time)
- y = amplitude * math.cos(frequency * time * 2 * math.pi) / math.exp(decay * time)
- return y end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement