#NEWLINE# def update_points_animation( self , dt ) : #NEWLINE# #INDENT# cy = ( self . height * 0.6 ) #NEWLINE# cx = ( self . width * 0.1 ) #NEWLINE# w = ( self . width * 0.8 ) #NEWLINE# step = 20 #NEWLINE# points = [ ] #NEWLINE# points2 = [ ] #NEWLINE# self . dt += dt #NEWLINE# for i in range ( int ( ( w / step ) ) ) : #NEWLINE# #INDENT# x = ( i * step ) #NEWLINE# points . append ( ( cx + x ) ) #NEWLINE# points . append ( ( cy + ( ( cos ( ( ( ( x / w ) * 8.0 ) + self . dt ) ) * self . height ) * 0.2 ) ) ) #NEWLINE# points2 . append ( ( cx + x ) ) #NEWLINE# points2 . append ( ( cy + ( ( sin ( ( ( ( x / w ) * 8.0 ) + self . dt ) ) * self . height ) * 0.2 ) ) ) #NEWLINE# #UNINDENT# self . points = points #NEWLINE# self . points2 = points2