| I made a macro awhile back to do this. It uses the same method that Chris uses. You just find the components of the angle and set it to the X and Y position of what you're trying to move. Here is a more flexible example |
CirclePath.qtz
Description: application/quartzcomposer
Sam Soffes On Apr 6, 2008, at 3:32 PM, Christopher Wright wrote: I would like to make a patch that can move an object around a certainpath -- in my first case, a circle. I'm having trouble figuring outthe best way to do this since there doesn't seem to be any sort ofexisting patches that deal with paths. The way I envision using it isthat it based on inputs of a center point (x1, y1) and radius (r), itwill provide outputs (x2, y2) that follow the circumference of thespecified circle at a speed controlled by a variable rate. Is this thekind of thing I'll have to program in Objective C, or can this beachieved using the existing patches? |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]

