tadd scripts to visualize and animate output - Granular.jl - Julia package for granular dynamics simulation
HTML git clone git://src.adamsgaard.dk/Granular.jl
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 5119861b022a058a35c8eff0b14e223597a03d3a
DIR parent 891fd2b7c8829029c47ebaf65e9442afafc14a1c
HTML Author: Anders Damsgaard <andersd@riseup.net>
Date: Tue, 12 Sep 2017 17:01:38 -0400
add scripts to visualize and animate output
Diffstat:
A examples/logo.animate.sh | 2 ++
A examples/logo.pvpython.py | 192 +++++++++++++++++++++++++++++++
2 files changed, 194 insertions(+), 0 deletions(-)
---
DIR diff --git a/examples/logo.animate.sh b/examples/logo.animate.sh
t@@ -0,0 +1,2 @@
+#!/bin/bash
+convert -delay 10 -transparent-color white -reverse -loop 0 logo/*.png logo/logo.gif
DIR diff --git a/examples/logo.pvpython.py b/examples/logo.pvpython.py
t@@ -0,0 +1,192 @@
+#### import the simple module from the paraview
+from paraview.simple import *
+#### disable automatic camera reset on 'Show'
+paraview.simple._DisableFirstRenderCameraReset()
+
+# create a new 'XML Unstructured Grid Reader'
mx1.adamsgaard.dk:70 /src/Granular.jl/commit/5119861b022a058a35c8eff0b14e223597a03d3a.gph:34: line too long