It doesn’t have the cool catches like you had, but I don’t like to use those things until I understand what they are doing. I’d like to learn this stuff, but I’ve never been very good at programming….mostly because I don’t really know the math well. I need to find a book with just lots of small short examples of different math types that aren’t just related to database programming. If you know of a good suggestion, I’d put down a few bills for something that will help me out a bit.
About the script: I just added a null object with a few slider controls so I could make some subtle changes to all of these. Right now I have 8 layers with this script as a test to show my coworker (the client in this case). I wanted a bit of randomness in a short amount of time. In other words, I didn’t want to try and figure out where I could put some random numbers because I don’t really know how those work with the min and max, or where I would even put them. I would guess I want the sin wave to start in different locations, but don’t know how to do that.
It was ok though because simply moving the layers around just a little bit, I wanted them to start offset a bit anyway, created enough randomness that it looked ok.
As you can see, I really didn’t change the pendulum expression much. I added some controllers, and created a variable in place of time to get time to start at the first keyframe. although, is that Really the second keyframe? I tried zero, but didn’t get good results. I’d like to know if 1 is actually the second of 2 keyframes though.