Live code visuals - A Tidal interface to visuals
Daumenkino is the german word for flip-book, it serves as an analogy for how it works. Make your own flip-books in real-time from single frames of a video or completely from scratch using geometric shapes. Think of animated gifs combined with a plot, you decide, in realtime.
To install Daumenkino run:
git clone https://github.com/lennart/Daumenkino
cd Daumenkino
cabal install
Place daumenkino.el
in an emacs load-path, require the daumenkino package and start a session in a .tidal
file via:
M-x daumenkino-start-haskell
the simplest thing is to show a plane that fades from white to transparent:
s1 $ shader "plane"
Available shaders are:
- plane
- tri
- circle
other shader names will be read as imagefile names similar to how Dirt does.
These params accept float patterns:
dur
- duration the shader is shownwidth
,height
(and alsosize
for equal width and height)x
,y
- positioningspeed
red
,green
,blue
alpha
- transparencyrot_x
- rotation around x axisorigin_x
,origin_y
- origin for rotation, to rotate around a certain point
Special params which accept different patterns:
color
- accepts hex colors like#ff0099
blend
- blendmode accepts the following values:c
SRC_COLORa
SRC_ALPHAC
DST_COLORA
DST_ALPHAl
CONSTANT_ALPHAt
CONSTANT_COLORs
SRC_SATURATE_ALPHAx
ONE_MINUS_SRC_ALPHA (default)y
ONE_MINUS_SRC_COLORX
ONE_MINUS_DST_ALPHAY
ONE_MINUS_DST_COLOR