Browse Source

Fixed calls to writeBml

master^2
klonfish 7 years ago
parent
commit
5843278d49
  1. 2
      generators/colormarq.py
  2. 2
      generators/colorwischer.py
  3. 2
      generators/gameOfLife.py
  4. 4
      generators/scroll.py

2
generators/colormarq.py

@ -20,5 +20,5 @@ for f in anim: @@ -20,5 +20,5 @@ for f in anim:
newanim.addFrame(newframe)
plasmaFrame += 1
writebml.writeBml(newanim, '/tmp/colormarq.bml')
blup.writebml.writeBml(newanim, '/tmp/colormarq.bml')

2
generators/colorwischer.py

@ -35,4 +35,4 @@ for i in range(num): @@ -35,4 +35,4 @@ for i in range(num):
writebml.writeBml(newanim, '/tmp/colorwischer.bml')
blup.writebml.writeBml(newanim, '/tmp/colorwischer.bml')

2
generators/gameOfLife.py

@ -93,4 +93,4 @@ for frame in range(500): @@ -93,4 +93,4 @@ for frame in range(500):
for i in range(20):
animation.addFrame(newframe)
break
writebml.writeBml(animation, '/home/pi/animations/gameOfLife.bml')
blup.writebml.writeBml(animation, '/home/pi/animations/gameOfLife.bml')

4
generators/scroll.py

@ -68,7 +68,7 @@ if __name__ == '__main__': @@ -68,7 +68,7 @@ if __name__ == '__main__':
img = Image.open(args.image)
img.convert(mode='RGB')
anim = scroll_image(img, args.delay, col)
writebml.writeBml(anim, args.output_file)
blup.writebml.writeBml(anim, args.output_file)
'''
num = 10
@ -92,5 +92,5 @@ for i in range(num): @@ -92,5 +92,5 @@ for i in range(num):
writebml.writeBml(newanim, '/tmp/colorwischer.bml')
blup.writebml.writeBml(newanim, '/tmp/colorwischer.bml')
'''

Loading…
Cancel
Save