2015-11-02 élasticité expansion en miroir - exploration paramètres

L'installation Elasticité dynamique agit comme un filtre et génère de nouveaux espaces démultipliés, comme un empilement quasi infini d'horizons. Par principe de réflexion, la pièce absorbe l'image de l'environnement et accumule les points de vue ; le mouvement permanent requalifie continuellement ce qui est regardé et entendu.

Ce post explore les paramètres de la structure et de l'extension des reflections.

In [1]:
%load_ext autoreload
%autoreload 2
import matplotlib
matplotlib.rcParams['figure.max_open_warning'] = 400
%matplotlib inline
%config InlineBackend.figure_format='retina'
#%config InlineBackend.figure_format = 'svg'
import matplotlib.pyplot as plt
import numpy as np
np.set_printoptions(precision=2, suppress=True)
from moviepy.video.io.bindings import mplfig_to_npimage
#mplfig_to_npimage?
In [2]:
import elasticite as el
e = el.EdgeGrid(N_lame=25, grid_type='line', struct_angles=[-15., -65., -102.])
e.sample_structure(N_mirror=2, alpha = .5)
fig, ax = e.plot_structure(scale=28.)
In [3]:
import elasticite as el
e = el.EdgeGrid(N_lame=25, grid_type='line', struct_angles=[-10., -60., -120.])
e.sample_structure(N_mirror=2, alpha = .5)
fig, ax = e.plot_structure(scale=28.)
In [4]:
!rm ../files/expansion*.mp4
In [5]:
duration = el.get_default_args(el.EdgeGrid.render)['duration']
class EdgeGrid(el.EdgeGrid):
    def update(self):
        e.struct_angles=[-30.*np.cos(2*np.pi*self.t/duration)**2, -60., -120.]
        e.add_structure()
        e.sample_structure(N_mirror=2, alpha = .5)

e = EdgeGrid(N_lame=25, grid_type='line')
e.animate(fname='../files/expansion_premier_bras.mp4', scale = 32.)
WARNING:py.warnings:/usr/local/lib/python3.5/site-packages/skimage/filter/__init__.py:6: skimage_deprecation: The `skimage.filter` module has been renamed to `skimage.filters`.  This placeholder module will be removed in v0.13.
  warn(skimage_deprecation('The `skimage.filter` module has been renamed '

[MoviePy] >>>> Building video ../files/expansion_premier_bras.mp4
[MoviePy] Writing video ../files/expansion_premier_bras.mp4
                                                 
[MoviePy] Done.
[MoviePy] >>>> Video ready: ../files/expansion_premier_bras.mp4 


Out[5]: