How can I calculate y in this curve ? t is the variable. Origin is (0|0) of course.
- the tangents at
t=0,t=0,5andt=1must be perfectly horizontal (incline = 0) - only basic mathematical operators are available (Java / Actionscript 3)

I have to calculate this a few hundred times each frame in Actionscript 3. So calculation needs good performance. Right now I'm actually failing at correctness of calculation (I'm not a mathematician).
