I am working on a small program showing moving rowing boats. The following is a simple code example (Python 2.x):
import time class Boat: def __init__(self, pace, spm): self.pace = pace
As you can see, the boat has a pace and rows with the number of beats per minute. Each time the move(deltaT) method is called, it moves a certain distance according to the pace.
The aforementioned boat just travels at a constant pace, which is unrealistic. A real rowing boat accelerates at the start of a turn and then slows down after the rowing blades leave the water. There are many graphs on the Internet that show a typical rowing curve (the force shown here, the speed is similar):
Source: highperformancerowing.net
The pace should be constant over time, but it should change during the beat.
What is the best way to change a constant speed to a curve that (at least basically) resembles a more realistic rowing move?
Note. Any ideas on how to better flag this question? Is this an algorithm problem?
source share