mirror of
https://github.com/ParticulateFlow/LPP.git
synced 2025-12-08 06:37:46 +00:00
add from __future__ import print statement -> print() function xrange -> range map() -> list(map()) range() -> list(range()) StandardError -> Exception
15 lines
237 B
Python
15 lines
237 B
Python
# movie of self-assembling micelles
|
|
|
|
from __future__ import absolute_import
|
|
|
|
d = dump("files/dump.micelle")
|
|
|
|
s = svg(d)
|
|
s.acol([1,2,3,4],["blue","red","cyan","yellow"])
|
|
s.arad(list(range(4)),0.5)
|
|
s.zoom(1.5)
|
|
|
|
s.file = "micelle"
|
|
|
|
s.all()
|