diff --git a/30-jahre-btx/__init__.py b/30-jahre-btx/__init__.py new file mode 100644 index 0000000..54e55f8 --- /dev/null +++ b/30-jahre-btx/__init__.py @@ -0,0 +1,95 @@ +#!/usr/bin/python3 + +import svg.path, random +from lxml import etree +from renderlib import * + +def introFrames(p): + frames = 0 + + w = 1024 + rows = 16 + row_w = w / rows + + h = 576 + cols = 18 + col_h = h / cols + + yield ( + ('colmask', 'style', 'fill', 'black'), + ('rowmask', 'style', 'fill', 'black'), + ('rowmask', 'attr', 'height', col_h), + ) + + for col in range(0, cols): + for row in range(0, rows): + yield ( + ('colmask', 'attr', 'y', (col+1) * col_h), + ('colmask', 'attr', 'height', h - ((col+1) * col_h)), + ('rowmask', 'attr', 'y', col * col_h), + ('rowmask', 'attr', 'width', w - (row * row_w)), + ) + + frames = 2*fps + for i in range(0, frames): + yield ( + ('colmask', 'attr', 'height', 0), + ('rowmask', 'attr', 'width', 0), + ) + +def outroFrames(parameters): + frames = int(0.5*fps) + for i in range(0, frames): + yield ( + ('license', 'style', 'opacity', 0), + ('bar1', 'style', 'opacity', 0), + ('bar2', 'style', 'opacity', 0), + ('bar3', 'style', 'opacity', 0), + ) + + frames = int(0.5*fps)+1 + for i in range(0, frames): + yield ( + ('license', 'style', 'opacity', 1), + ('bar1', 'style', 'opacity', 0), + ('bar2', 'style', 'opacity', 0), + ('bar3', 'style', 'opacity', 0), + ) + + frames = int(0.5*fps) + for i in range(0, frames): + yield ( + ('license', 'style', 'opacity', 1), + ('bar1', 'style', 'opacity', 1), + ('bar2', 'style', 'opacity', 0), + ('bar3', 'style', 'opacity', 0), + ) + + frames = int(0.5*fps)+1 + for i in range(0, frames): + yield ( + ('license', 'style', 'opacity', 1), + ('bar1', 'style', 'opacity', 1), + ('bar2', 'style', 'opacity', 1), + ('bar3', 'style', 'opacity', 0), + ) + + frames = int(3.5*fps) + for i in range(0, frames): + yield ( + ('license', 'style', 'opacity', 1), + ('bar1', 'style', 'opacity', 1), + ('bar2', 'style', 'opacity', 1), + ('bar3', 'style', 'opacity', 1), + ) + +def debug(): + render('intro.svg', + '../intro.dv', + introFrames + ) + + # render('outro.svg', + # '../outro.dv', + # outroFrames + # ) diff --git a/30-jahre-btx/artwork/intro.png b/30-jahre-btx/artwork/intro.png new file mode 100644 index 0000000..4926493 Binary files /dev/null and b/30-jahre-btx/artwork/intro.png differ diff --git a/30-jahre-btx/artwork/intro.svg b/30-jahre-btx/artwork/intro.svg new file mode 100644 index 0000000..89874d8 --- /dev/null +++ b/30-jahre-btx/artwork/intro.svg @@ -0,0 +1,135 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + 30 Jahre BTX Hack18.11.2014 BCC BerlinAndy Mueller Magun, Steffen Werneey,Eric Danke, Bernd Fix + + + + + + + diff --git a/30-jahre-btx/artwork/whs_logo.png b/30-jahre-btx/artwork/whs_logo.png new file mode 100644 index 0000000..be0f3a5 Binary files /dev/null and b/30-jahre-btx/artwork/whs_logo.png differ diff --git a/30-jahre-btx/artwork/zugang-nt.gif b/30-jahre-btx/artwork/zugang-nt.gif new file mode 100644 index 0000000..1c89a26 Binary files /dev/null and b/30-jahre-btx/artwork/zugang-nt.gif differ diff --git a/30-jahre-btx/artwork/zugang.gif b/30-jahre-btx/artwork/zugang.gif new file mode 100644 index 0000000..c83dc1f Binary files /dev/null and b/30-jahre-btx/artwork/zugang.gif differ