updated emf2016 graphics
BIN
emf2016/.DS_Store
vendored
|
@ -6,9 +6,7 @@ from easing import *
|
|||
# URL to Schedule-XML
|
||||
scheduleUrl = 'https://www.emfcamp.org/schedule.frab'
|
||||
|
||||
titlemap = {
|
||||
1533: "Building applications with FOSS4G bricks"
|
||||
}
|
||||
titlemap = {}
|
||||
|
||||
def introFrames(p):
|
||||
move=50
|
||||
|
@ -16,74 +14,58 @@ def introFrames(p):
|
|||
nr = p['$id'];
|
||||
|
||||
|
||||
# Hold still
|
||||
# Show Title
|
||||
frames = 5*fps
|
||||
for i in range(0, frames):
|
||||
yield ()
|
||||
yield (
|
||||
('sponsors', 'style', 'opacity', 0),
|
||||
('white', 'style', 'opacity', 0),
|
||||
)
|
||||
|
||||
# 1s fade out
|
||||
frames = 1*fps
|
||||
# Fade In Sponsor
|
||||
frames = int(fps/2)
|
||||
for i in range(0, frames):
|
||||
yield (
|
||||
('text', 'style', 'opacity', "%.4f" % easeLinear(i, 1, -1, frames)),
|
||||
('white', 'style', 'opacity', easeLinear(i, 0, 1, frames)),
|
||||
('sponsors', 'style', 'opacity', 0),
|
||||
('text', 'style', 'opacity', easeLinear(i, 1, 0, frames)),
|
||||
('bg', 'style', 'opacity', easeLinear(i, 1, 0, frames)),
|
||||
)
|
||||
|
||||
frames = int(fps/2)
|
||||
for i in range(0, frames):
|
||||
yield (
|
||||
('white', 'style', 'opacity', 1),
|
||||
('sponsors', 'style', 'opacity', easeLinear(i, 0, 1, frames)),
|
||||
('text', 'style', 'opacity', 0),
|
||||
('bg', 'style', 'opacity',0),
|
||||
)
|
||||
|
||||
# Show Sponsor
|
||||
frames = 5*fps
|
||||
for i in range(0, frames):
|
||||
yield (
|
||||
('white', 'style', 'opacity', 1),
|
||||
('sponsors', 'style', 'opacity', 1),
|
||||
('text', 'style', 'visibility', 0),
|
||||
('bg', 'style', 'visibility', 0),
|
||||
)
|
||||
|
||||
# final frames
|
||||
for i in range(0,5):
|
||||
yield (
|
||||
('text', 'style', 'opacity', "%.4f" % 0),
|
||||
)
|
||||
|
||||
|
||||
def outroFrames(p):
|
||||
# 3 Sekunden animation bleiben
|
||||
# hold slide for 5s
|
||||
frames = 5*fps
|
||||
|
||||
# five initial frames
|
||||
for i in range(0, 5):
|
||||
yield (
|
||||
('g1', 'style', 'opacity', "%.4f" % 0),
|
||||
('g2', 'style', 'opacity', "%.4f" % 0),
|
||||
('g3', 'style', 'opacity', "%.4f" % 0),
|
||||
)
|
||||
|
||||
# 3 Sekunden
|
||||
frames = 6*fps
|
||||
for i in range(0, frames):
|
||||
yield (
|
||||
('g1', 'style', 'opacity', "%.4f" % easeDelay(easeLinear, 0*fps, i, 0, 1, 4*fps)),
|
||||
('g2', 'style', 'opacity', "%.4f" % easeDelay(easeLinear, 1*fps, i, 0, 1, 4*fps)),
|
||||
('g3', 'style', 'opacity', "%.4f" % easeDelay(easeLinear, 2*fps, i, 0, 1, 4*fps)),
|
||||
)
|
||||
|
||||
# five final frames
|
||||
for i in range(0, 5):
|
||||
yield (
|
||||
('g1', 'style', 'opacity', "%.4f" % 1),
|
||||
('g2', 'style', 'opacity', "%.4f" % 1),
|
||||
('g3', 'style', 'opacity', "%.4f" % 1),
|
||||
)
|
||||
|
||||
def pauseFrames(p):
|
||||
# 3 Sekunden animation bleiben
|
||||
|
||||
for nr in range(0, 3):
|
||||
# 10 sekunden sehen
|
||||
frames = 3*fps
|
||||
for i in range(0, frames):
|
||||
yield (
|
||||
('image%u' % ((nr+0)%3), 'style', 'opacity', "%.4f" % 1),
|
||||
('image%u' % ((nr+1)%3), 'style', 'opacity', "%.4f" % 0),
|
||||
('image%u' % ((nr+2)%3), 'style', 'opacity', "%.4f" % 0),
|
||||
)
|
||||
|
||||
# 1 sekunde faden
|
||||
frames = 2*fps
|
||||
for i in range(0, frames):
|
||||
yield (
|
||||
('image%u' % ((nr+0)%3), 'style', 'opacity', "%.4f" % easeLinear(i, 1, -1, frames)),
|
||||
('image%u' % ((nr+1)%3), 'style', 'opacity', "%.4f" % easeLinear(i, 0, +1, frames)),
|
||||
('image%u' % ((nr+2)%3), 'style', 'opacity', "%.4f" % 0),
|
||||
)
|
||||
# hold slide for 5s
|
||||
frames = 5*fps
|
||||
for i in range(0, frames):
|
||||
yield (
|
||||
)
|
||||
|
||||
def debug():
|
||||
render(
|
||||
|
@ -98,17 +80,17 @@ def debug():
|
|||
}
|
||||
)
|
||||
|
||||
# render(
|
||||
# 'outro.svg',
|
||||
# '../outro.ts',
|
||||
# outroFrames
|
||||
# )
|
||||
#
|
||||
# render(
|
||||
# 'pause.svg',
|
||||
# '../pause.ts',
|
||||
# pauseFrames
|
||||
# )
|
||||
render(
|
||||
'outro.svg',
|
||||
'../outro.ts',
|
||||
outroFrames
|
||||
)
|
||||
|
||||
render(
|
||||
'pause.svg',
|
||||
'../pause.ts',
|
||||
pauseFrames
|
||||
)
|
||||
|
||||
def tasks(queue, args):
|
||||
# iterate over all events extracted from the schedule xml-export
|
||||
|
|
BIN
emf2016/artwork/.DS_Store
vendored
BIN
emf2016/artwork/ElectromagneticField2016-Logos-13-crop.png
Normal file
After Width: | Height: | Size: 74 KiB |
BIN
emf2016/artwork/Logo-OnBackgroundImage.jpg
Normal file
After Width: | Height: | Size: 3.9 MiB |
0
emf2016/artwork/Sponsor Logos/1 Gold/Icon
Normal file
BIN
emf2016/artwork/Sponsor Logos/1 Gold/mathworks.jpg
Normal file
After Width: | Height: | Size: 254 KiB |
BIN
emf2016/artwork/Sponsor Logos/1 Gold/microsoft.jpg
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
emf2016/artwork/Sponsor Logos/1 Gold/nexmo.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
emf2016/artwork/Sponsor Logos/1 Gold/spotify.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
emf2016/artwork/Sponsor Logos/1 Gold/ucl.png
Normal file
After Width: | Height: | Size: 29 KiB |
0
emf2016/artwork/Sponsor Logos/2 Badge/Icon
Normal file
BIN
emf2016/artwork/Sponsor Logos/2 Badge/getsmarterenergy.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
emf2016/artwork/Sponsor Logos/2 Badge/hcd.jpg
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
emf2016/artwork/Sponsor Logos/2 Badge/rs.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
emf2016/artwork/Sponsor Logos/2 Badge/st.png
Normal file
After Width: | Height: | Size: 303 KiB |
BIN
emf2016/artwork/Sponsor Logos/2 Badge/ti.png
Normal file
After Width: | Height: | Size: 55 KiB |
BIN
emf2016/artwork/Sponsor Logos/2 Badge/wurth.jpg
Normal file
After Width: | Height: | Size: 77 KiB |
0
emf2016/artwork/Sponsor Logos/3 Silver/Icon
Normal file
BIN
emf2016/artwork/Sponsor Logos/3 Silver/heartinternet.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
emf2016/artwork/Sponsor Logos/3 Silver/portcullis.jpg
Normal file
After Width: | Height: | Size: 128 KiB |
BIN
emf2016/artwork/Sponsor Logos/3 Silver/yelp.png
Normal file
After Width: | Height: | Size: 17 KiB |
0
emf2016/artwork/Sponsor Logos/4 Bronze/Icon
Normal file
BIN
emf2016/artwork/Sponsor Logos/4 Bronze/chef.png
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
emf2016/artwork/Sponsor Logos/4 Bronze/codethink.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
emf2016/artwork/Sponsor Logos/4 Bronze/dhtmlx.jpg
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
emf2016/artwork/Sponsor Logos/4 Bronze/flexoptix.jpg
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
emf2016/artwork/Sponsor Logos/4 Bronze/improbable.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
emf2016/artwork/Sponsor Logos/4 Bronze/justaddsharks.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
emf2016/artwork/Sponsor Logos/4 Bronze/medicalconnections.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
emf2016/artwork/Sponsor Logos/4 Bronze/twilio.png
Normal file
After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 5.3 MiB After Width: | Height: | Size: 7.1 MiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 5.3 MiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 19 KiB |
155
emf2016/artwork/pause.svg
Normal file
After Width: | Height: | Size: 5.3 MiB |
Before Width: | Height: | Size: 155 KiB |
Before Width: | Height: | Size: 232 KiB |