Files
LPP/examples/movie_micelle.py
danielque 539fd060c2 python 3 compatibility for examples/*.py files
add from __future__ import
print statement -> print() function
xrange -> range
map() -> list(map())
range() -> list(range())
StandardError -> Exception
2023-08-10 13:25:36 +02:00

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()