diff --git a/gpn16/__init__.py b/gpn16/__init__.py
index b5f35ad..fbd4524 100644
--- a/gpn16/__init__.py
+++ b/gpn16/__init__.py
@@ -24,6 +24,9 @@ def bounce(i, min, max, frames):
def introFrames(parameters):
frames = 10
yield (
+ ('textblock', 'style', 'opacity', '%.4f' % 0),
+ ('layer-icons', 'style', 'display', 'inline'),
+
('eat', 'style', 'opacity', '%.4f' % 0),
('sleep', 'style', 'opacity', '%.4f' % 0),
('code', 'style', 'opacity', '%.4f' % 0),
@@ -73,7 +76,40 @@ def introFrames(parameters):
('repeat', 'style', 'opacity', '%.4f' % bounce(i, 0.0, 1.0, frames))
)
+ frames = 10
+ for i in range(0, frames):
+ scale = easeLinear(i, 0.5, 0.5, frames)
+ move = -0.5 * scale + 0.5
+ x = 1920 * move
+ y = 1080 * move
+ yield (
+ ('textblock', 'attr', 'transform', "translate(%.4f, %.4f) scale(%.4f)" % (x, y, scale)),
+ ('textblock', 'style', 'opacity', '%.4f' % easeLinear(i, 0.0, 1.0, frames))
+ )
+ frames = 25*3
+ for i in range(0, frames):
+ yield (
+ ('textblock', 'attr', 'transform', "scale(%.4f)" % 1),
+ ('textblock', 'style', 'opacity', '%.4f' % 1)
+ )
+
+ frames = 10
+ for i in range(0, frames):
+ scale = easeLinear(i, 1, 1.5, frames)
+ move = -0.5 * scale + 0.5
+ x = 1920 * move
+ y = 1080 * move
+ yield (
+ ('textblock', 'attr', 'transform', "translate(%.4f, %.4f) scale(%.4f)" % (x, y, scale)),
+ ('textblock', 'style', 'opacity', '%.4f' % easeLinear(i, 1.0, -1.0, frames))
+ )
+
+ frames = 5
+ for i in range(0, frames):
+ yield (
+ ('textblock', 'style', 'opacity', '%.4f' % 0),
+ )
# def outroFrames(parameters):
# frames = 2*fps
diff --git a/gpn16/artwork/intro.svg b/gpn16/artwork/intro.svg
index f829019..f077b60 100644
--- a/gpn16/artwork/intro.svg
+++ b/gpn16/artwork/intro.svg
@@ -26,8 +26,8 @@
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
- inkscape:cx="912.64036"
- inkscape:cy="192.86856"
+ inkscape:cx="900.94034"
+ inkscape:cy="292.95449"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
@@ -36,7 +36,14 @@
inkscape:window-height="1016"
inkscape:window-x="0"
inkscape:window-y="27"
- inkscape:window-maximized="1" />
+ inkscape:window-maximized="1"
+ showguides="true"
+ inkscape:guide-bbox="true">
+
+
@@ -65,9 +72,9 @@
- Lalalala
+ style="display:inline;">
+
+
+ $SPEAKER
+
+ $TITLE$SUBTITLE
+ $ID
+
+