Topic: Curve algorithms |
|
---|---|
Author | Thread |
Maniac (V) Mad Scientist From: :morF |
![]() ![]() ![]() ![]() I've got a bit of a strange request... I'm trying to work out an algorithm to calculate a set of points along an acceleration/deceleration curve. The curve itself I suppose could be your average exponential curve up to a set point after which speed is constant. My problem is the algorithm to let me work out the points along the line so I can work out the values I'll need to feed into the program that sets the acceleration at those points. |
Paranoid (IV) Inmate From: Norway |
![]() ![]() ![]() ![]() Not 100% sure what you want : a curve accelerating, or one accelerating then decelerating, ... one whose speed max out at some point. |
Maniac (V) Mad Scientist From: :morF |
![]() ![]() ![]() ![]() Something like this for acceleration: |
Maniac (V) Mad Scientist From: |
![]() ![]() ![]() ![]() Regular expontial and rotate/offset? |
Maniac (V) Mad Scientist From: :morF |
![]() ![]() ![]() ![]() Uh-huh... |
Maniac (V) Mad Scientist From: |
![]() ![]() ![]() ![]() // define the ceilings |
Paranoid (IV) Inmate From: Norway |
![]() ![]() ![]() ![]() |
Maniac (V) Mad Scientist From: |
![]() ![]() ![]() ![]() What Poi said. But he threw in some trig, which is prolly a damn good idea. It's prolly easier to grab a quarter circle for squashing than do the post-transform junk that I vaguely tossed out. |
Maniac (V) Mad Scientist From: :morF |
![]() ![]() ![]() ![]() With the able assistance of one of my co-workers (who was a mathematician before he decided to become a developer) I wrapped my head around what you guys have been saying, and I get it. I understand now how I can create my bounded curve and get what I need out of it. Thanks! |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
![]() ![]() ![]() ![]() Somebody knock on my cell? |
Maniac (V) Inmate From: The Pool Of Life |
![]() ![]() ![]() ![]() ~runs in stage left, thwacks Petskull with a wet Trout, escapes through previously unseen trap door~ |