Re: [Tutor] gui problem

2009-06-06 Thread Kent Johnson
Can you try that again? Kent On Sat, Jun 6, 2009 at 4:20 PM, Essah Mitges wrote: > > from math import sin, cos, pi import pygame displayWidth = 640displayHeight > = 480fpsLimit = 90 def sinInterpolation(start, end, steps=30):    values = > [start]    delta = end - start    for i in range(1, steps

[Tutor] gui problem

2009-06-06 Thread Essah Mitges
from math import sin, cos, pi import pygame displayWidth = 640displayHeight = 480fpsLimit = 90 def sinInterpolation(start, end, steps=30):values = [start]delta = end - startfor i in range(1, steps):n = (pi / 2.0) * (i / float(steps - 1))values.append(start + delta *