Update intro.svg with better font, move person to the left.

This commit is contained in:
Alexander Brock 2023-08-30 21:17:41 +02:00
parent 274bdbd21b
commit 8764a80f58
2 changed files with 167 additions and 103 deletions

View file

@ -10,7 +10,7 @@ scheduleUrl = 'https://talks.mrmcd.net/2023/schedule.xml'
speedfactor=1
def introFrames(args):
#sleep .5s
# sleep .5s
frames = round(.5*fps*speedfactor)
for i in range(0, frames*2):
yield (
@ -26,7 +26,7 @@ def introFrames(args):
('persons', 'style', 'opacity', 0),
('id', 'style', 'opacity', 0),
)
#fade in houses and sleep one second
# fade in houses and sleep one second
frames = round(1*fps*speedfactor)
for i in range(0, frames*2):
yield (
@ -42,7 +42,7 @@ def introFrames(args):
('persons', 'style', 'opacity', 0),
('id', 'style', 'opacity', 0),
)
#Move in person
# move in person
frames = round(1*fps*speedfactor)
for i in range(0, frames):
t=i/frames
@ -63,7 +63,7 @@ def introFrames(args):
('id', 'style', 'opacity', 0),
)
#wait 1s
# sleep 1s
for i in range(0, round(1*fps*speedfactor)):
yield (
('houses', 'style', 'opacity', 1),
@ -78,7 +78,7 @@ def introFrames(args):
('persons', 'style', 'opacity', 0),
('id', 'style', 'opacity', 0),
)
#look around
# look around
for i in range(0, round(.5*fps*speedfactor)):
yield (
('houses', 'style', 'opacity', 1),
@ -108,7 +108,7 @@ def introFrames(args):
('persons', 'style', 'opacity', 0),
('id', 'style', 'opacity', 0),
)
#wait 1s
# sleep 1s
for i in range(0, round(1*fps*speedfactor)):
yield (
('houses', 'style', 'opacity', 1),
@ -123,7 +123,7 @@ def introFrames(args):
('persons', 'style', 'opacity', 0),
('id', 'style', 'opacity', 0),
)
#bonk once
# bonk once
for i in range(0, math.ceil(.1*fps*speedfactor)):
yield (
('houses', 'style', 'opacity', 1),
@ -138,7 +138,7 @@ def introFrames(args):
('persons', 'style', 'opacity', 0),
('id', 'style', 'opacity', 0),
)
#wait 1s
# wait 1s
for i in range(0, 1*fps*speedfactor):
yield (
('houses', 'style', 'opacity', 1),
@ -153,7 +153,7 @@ def introFrames(args):
('persons', 'style', 'opacity', 0),
('id', 'style', 'opacity', 0),
)
#bonk twice
# bonk twice
for j in range(0,2):
for i in range(0, math.ceil(.1*fps*speedfactor)):
yield (
@ -169,21 +169,21 @@ def introFrames(args):
('persons', 'style', 'opacity', 0),
('id', 'style', 'opacity', 0),
)
for i in range(0, round(.1*fps*speedfactor)):
yield (
('houses', 'style', 'opacity', 1),
('vr', 'style', 'opacity', 0),
('vr-blurry', 'style', 'opacity', j),
('person', 'style', 'opacity', 0),
('personhit', 'style', 'opacity', 1),
('motto', 'style', 'opacity', 0),
('logotext', 'style', 'opacity', 0),
('text', 'style', 'opacity', 0),
('title', 'style', 'opacity', 0),
('subtitle', 'style', 'opacity', 0),
('persons', 'style', 'opacity', 0),
('id', 'style', 'opacity', 0),
)
# for i in range(0, round(.1*fps*speedfactor)):
# yield (
# ('houses', 'style', 'opacity', 1),
# ('vr', 'style', 'opacity', 0),
# ('vr-blurry', 'style', 'opacity', j),
# ('person', 'style', 'opacity', 0),
# ('personhit', 'style', 'opacity', 1),
# ('motto', 'style', 'opacity', 0),
# ('logotext', 'style', 'opacity', 0),
# ('text', 'style', 'opacity', 0),
# ('title', 'style', 'opacity', 0),
# ('subtitle', 'style', 'opacity', 0),
# ('persons', 'style', 'opacity', 0),
# ('id', 'style', 'opacity', 0),
# )
for i in range(0, round(.2*fps*speedfactor)):
yield (
('houses', 'style', 'opacity', 1),
@ -199,7 +199,7 @@ def introFrames(args):
('persons', 'style', 'opacity', 0),
('id', 'style', 'opacity', 0),
)
#wait 1s
# wait 1s
for i in range(0, round(1*fps*speedfactor)):
yield (
('houses', 'style', 'opacity', 1),
@ -215,7 +215,7 @@ def introFrames(args):
('persons', 'style', 'opacity', 0),
('id', 'style', 'opacity', 0),
)
#bonk for speaker
# bonk for speaker
for i in range(0, round(.1*fps*speedfactor)):
yield (
('houses', 'style', 'opacity', 1),
@ -230,7 +230,7 @@ def introFrames(args):
('persons', 'style', 'opacity', 0),
('id', 'style', 'opacity', 0),
)
#wait 1s
# wait 1s
for i in range(0, round(1*fps*speedfactor)):
yield (
('houses', 'style', 'opacity', 1),
@ -245,7 +245,7 @@ def introFrames(args):
('persons', 'style', 'opacity', 0),
('id', 'style', 'opacity', 0),
)
#fade in speaker
# fade in speaker
frames = round(1*fps*speedfactor)
for i in range(0, frames):
yield (
@ -261,7 +261,7 @@ def introFrames(args):
('persons', 'style', 'opacity', 0),
('id', 'style', 'opacity', 0),
)
#fade in wgdh
# fade in wgdh
frames = round(1*fps*speedfactor)
for i in range(0, frames):
yield (
@ -277,7 +277,7 @@ def introFrames(args):
('persons', 'style', 'opacity', 0),
('id', 'style', 'opacity', 0),
)
#sleep
# sleep
frames = round(6*fps*speedfactor)
for i in range(0, frames):
yield (
@ -426,12 +426,12 @@ def debug():
render('intro.svg',
'../intro.ts',
introShort,
introFrames,
{
'$id': 7776,
'$title': 'Memetische Agitation des jungen Rechtsaussen-Spektrums: Mechanismen, Strategien, Narrative',
'$title': 'Memetische Agitation des jungen Rechtsaußenspektrums: Mechanismen, Strategien, Narrative',
'$subtitle': '',
'$persons': 'Vincent Knopp'
'$persons': 'Berlin Busters Social Club'
}
)
@ -455,9 +455,9 @@ def debug():
def tasks(queue, args, idlist, skiplist):
# iterate over all events extracted from the schedule xml-export
for event in events(scheduleUrl):
if event['room'] not in ('Chirurgie (Saal 1.04)', 'Kreißsaal (Saal 1.11)'):
print("skipping room %s (%s [%s])" % (event['room'], event['title'], event['id']))
continue
# if event['room'] not in ('Chirurgie (Saal 1.04)', 'Kreißsaal (Saal 1.11)'):
# print("skipping room %s (%s [%s])" % (event['room'], event['title'], event['id']))
# continue
if not (idlist==[]):
if 000000 in idlist:
print("skipping id (%s [%s])" % (event['title'], event['id']))

View file

@ -26,9 +26,9 @@
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="1.9666667"
inkscape:cx="1345.9322"
inkscape:cy="512.54236"
inkscape:zoom="0.24583334"
inkscape:cx="1431.8644"
inkscape:cy="1350.5084"
inkscape:window-width="1916"
inkscape:window-height="1161"
inkscape:window-x="0"
@ -5914,7 +5914,7 @@
inkscape:label="personhit"
style="display:inline"><g
id="g1055"><g
transform="matrix(0.28715737,-0.02707702,0.02707702,0.28715737,95.696357,-622.62888)"
transform="matrix(0.28715737,-0.02707702,0.02707702,0.28715737,92.024936,-622.62888)"
id="g1041"
style="clip-rule:evenodd;fill-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2">&#10; <path
d="m 1826.02,4765.36 c 82.51,-4.27 124.66,16.42 183.11,47.77 39.7,21.3 38.23,128.11 29.72,164.24 -25.8,-37.27 -115.07,-111.9 -204.38,-112.89 -39.16,-0.43 -24.77,-98.28 -8.45,-99.12 z"
@ -5950,44 +5950,50 @@
d="m 714.3943,765.5187 c 0,0 3.71787,8.82599 8.4741,8.41354 13.67164,-1.18257 19.29893,0.63454 34.60597,3.4929"
style="clip-rule:evenodd;fill:none;fill-rule:evenodd;stroke:#16130a;stroke-width:8.00108px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5"
id="path1046" /><g
id="g1054"
transform="matrix(0.28843114,0,0,0.28843114,227.32063,-678.58968)"
style="clip-rule:evenodd;fill-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2">&#10; <g
transform="translate(-2.80849,16.3533)"
id="g1047">&#10; <path
transform="matrix(0.28843114,0,0,0.28843114,226.51057,-673.87288)"
id="g1047"
style="clip-rule:evenodd;fill-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2">&#10; <path
d="m 1700.3,4837.23 c -77.86,6.98 -130.78,14.12 -173.86,33.17 -11.47,5.08 -11.16,61.32 -3.68,57.64 38.89,-19.16 125.25,-48.09 170.79,-40.24 z"
style="fill:#b3b3b3;stroke:#dcdcdc;stroke-width:27.74px;stroke-linecap:round;stroke-miterlimit:1.5"
id="path1047" />&#10; </g>&#10; <g
transform="translate(-15.7594,-14.6583)"
id="g1048">&#10; <path
id="path1047" />&#10; </g><g
id="g1378"
transform="translate(-3.6714205)"><g
transform="matrix(0.28843114,0,0,0.28843114,222.77513,-682.81759)"
id="g1048"
style="clip-rule:evenodd;fill-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2">&#10; <path
d="m 1703.48,4836.41 c 31.1,-22.54 68.09,-36.64 117.59,-53.42 -16.59,50.34 -4.39,97.37 16.68,96.17 67.37,-3.86 154.64,23.37 217.95,94.62 -31.99,12.18 -71.32,10.4 -104.06,13.98 -30.33,-24.17 -151.93,-55.62 -220.96,-50.93 -33.04,2.24 -44.28,-88.05 -27.2,-100.42 z"
style="fill:#b3b3b3;stroke:#dcdcdc;stroke-width:27.74px;stroke-linecap:round;stroke-miterlimit:1.5"
id="path1048" />&#10; </g>&#10; <g
transform="translate(-28.025,-4.20821)"
id="g1049">&#10; <path
id="path1048" />&#10; </g><g
transform="matrix(0.28843114,0,0,0.28843114,219.23735,-679.80346)"
id="g1049"
style="clip-rule:evenodd;fill-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2">&#10; <path
d="m 1796.1,4788.17 c -11.02,53.38 6.69,97.22 31.5,97.54 42.38,0.53 138.54,9.19 211.63,85.07"
style="fill:none;stroke:#dcdcdc;stroke-width:27.74px;stroke-linecap:round;stroke-miterlimit:1.5"
id="path1049" />&#10; </g>&#10; <g
transform="translate(-13.1502,-11.2067)"
id="g1050">&#10; <path
id="path1049" />&#10; </g><g
transform="matrix(0.28843114,0,0,0.28843114,223.5277,-681.82204)"
id="g1050"
style="clip-rule:evenodd;fill-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2">&#10; <path
d="m 1730.53,4819.56 c -17.9,15.52 -14.72,98.4 9,94.47 57.76,-9.56 185.14,15.3 231.67,64.66"
style="fill:none;stroke:#dcdcdc;stroke-width:27.74px;stroke-linecap:round;stroke-miterlimit:1.5"
id="path1050" />&#10; </g>&#10; <g
transform="rotate(-5.386681,1833.9907,4947.3822)"
id="g1051">&#10; <path
id="path1050" />&#10; </g><g
transform="matrix(0.28715737,-0.02707702,0.02707702,0.28715737,95.696357,-622.62888)"
id="g1051"
style="clip-rule:evenodd;fill-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2">&#10; <path
d="m 1826.02,4765.36 c 82.51,-4.27 124.66,16.42 183.11,47.77 39.7,21.3 38.23,128.11 29.72,164.24 -25.8,-37.27 -115.07,-111.9 -204.38,-112.89 -39.16,-0.43 -24.77,-98.28 -8.45,-99.12 z"
style="fill:#959290;fill-opacity:0.42;stroke:#dcdcdc;stroke-width:27.74px;stroke-linecap:round;stroke-miterlimit:1.5"
id="path1051" />&#10; </g>&#10; <g
transform="matrix(1.07193,0.116574,-0.11538,1.06095,420.702,-519.254)"
id="g1052">&#10; <path
id="path1051" />&#10; </g><g
transform="matrix(0.30917799,0.03362357,-0.03327918,0.30601102,348.66419,-828.3587)"
id="g1052"
style="clip-rule:evenodd;fill-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2">&#10; <path
d="m 1896.34,4841.61 c 9.45,-5.47 55.9,-31.06 55.9,-31.06"
style="fill:none;stroke:#dcdcdc;stroke-width:25.86px;stroke-linecap:round;stroke-miterlimit:1.5"
id="path1052" />&#10; </g>&#10; <g
transform="matrix(1.006,0.166168,-0.188065,0.989957,893.595,-265.975)"
id="g1053">&#10; <path
id="path1052" />&#10; </g><g
transform="matrix(0.29016173,0.04792803,-0.0542438,0.28553443,485.06125,-755.30515)"
id="g1053"
style="clip-rule:evenodd;fill-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2">&#10; <path
d="m 1895.34,4822.26 26.11,-16.27"
style="fill:none;stroke:#dcdcdc;stroke-width:27.7px;stroke-linecap:round;stroke-miterlimit:1.5"
id="path1053" />&#10; </g>&#10; </g></g></g>&#10; <g
id="path1053" />&#10; </g></g></g></g>&#10; <g
id="motto"
transform="matrix(0.253756,-0.0248101,0.0248101,0.253756,-74.2665,119.889)"
style="display:inline"
@ -6362,8 +6368,8 @@
id="defs1040"><rect
x="1197.4101"
y="377.50503"
width="666.84092"
height="693.46654"
width="739.76697"
height="714.38353"
id="rect1056" /><clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath914"><path
@ -6378,10 +6384,10 @@
inkscape:collect="always"
style="color-interpolation-filters:sRGB"
id="filter1"
x="-0.057475524"
y="-0.06543814"
width="1.114951"
height="1.1308763"><feGaussianBlur
x="-0.050539307"
y="-0.10568701"
width="1.1010786"
height="1.211374"><feGaussianBlur
inkscape:collect="always"
stdDeviation="1.8588329"
id="feGaussianBlur1" /></filter><filter
@ -6394,39 +6400,97 @@
height="0.99587977"><feGaussianBlur
inkscape:collect="always"
stdDeviation="6.1819963"
id="feGaussianBlur1375" /></filter></defs>&#10;<g
id="feGaussianBlur1375" /></filter><rect
x="1197.4101"
y="377.50503"
width="523.31702"
height="454.55703"
id="rect1" /><filter
inkscape:collect="always"
style="color-interpolation-filters:sRGB"
id="filter5"
x="-0.047361803"
y="-0.21044944"
width="1.0947236"
height="1.4208989"><feGaussianBlur
inkscape:collect="always"
stdDeviation="1.582753"
id="feGaussianBlur5" /></filter>&#10; &#10; &#10; &#10; &#10; &#10; &#10; &#10; </defs>&#10;<g
inkscape:groupmode="layer"
id="text"
inkscape:label="text"
style="display:inline"><use
x="0"
y="0"
xlink:href="#text1056"
id="use3"
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:22.6772;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter1)"
transform="translate(-1073.7649,136.34843)" /><use
x="0"
y="0"
xlink:href="#text1056"
id="use2"
style="display:inline;fill:#ed0f67;fill-opacity:1;stroke:none;stroke-width:0.377953;stroke-dasharray:none;stroke-opacity:1"
transform="translate(-1073.7649,136.34843)" /><text
xml:space="preserve"
id="text1056"
style="font-size:72px;line-height:1.05;font-family:'SF Movie Poster';-inkscape-font-specification:'SF Movie Poster';white-space:pre;shape-inside:url(#rect1056);display:inline;fill-opacity:1"
transform="translate(1073.7649,-136.34843)"><tspan
x="1197.4102"
y="450.81701"
id="tspan2"><tspan
style="font-family:Gemstone;-inkscape-font-specification:Gemstone"
id="tspan1">$title&#10;</tspan></tspan><tspan
x="1197.4102"
y="540.32818"
id="tspan5"><tspan
style="font-family:Gemstone;-inkscape-font-specification:Gemstone"
id="tspan4">$subtitle&#10;</tspan></tspan><tspan
x="1197.4102"
y="629.83935"
id="tspan7"><tspan
style="font-family:Gemstone;-inkscape-font-specification:Gemstone"
id="tspan6">$persons</tspan></tspan></text></g></svg>
style="display:inline"><g
id="g1375"
transform="translate(16.750954,-12.108159)"><use
x="0"
y="0"
xlink:href="#text1"
id="use5"
transform="translate(-16.633719,-611.57007)"
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:22.6772;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter5)" /><use
x="0"
y="0"
xlink:href="#text1"
id="use1"
transform="translate(-16.633719,-611.57007)" /><use
x="0"
y="0"
xlink:href="#text1"
id="use4"
transform="translate(-16.633719,-611.57007)"
style="fill:#ed0f67;fill-opacity:1" /></g><g
id="g1379"
transform="translate(0,8.6138785)"><use
x="0"
y="0"
xlink:href="#text1056"
id="use3"
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:22.6772;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter1)"
transform="translate(-0.05263713,-0.02884573)" /><use
x="0"
y="0"
xlink:href="#text1056"
id="use2"
style="display:inline;fill:#ed0f67;fill-opacity:1;stroke:none;stroke-width:0.377953;stroke-dasharray:none;stroke-opacity:1"
transform="translate(-0.05263713,-0.02884373)" /></g><g
id="g1377"
transform="translate(1164.4446,104.87933)"><rect
style="opacity:0.584223;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:22.6772;stroke-dasharray:none;stroke-opacity:1"
id="rect1376"
width="741.65863"
height="700.56396"
x="1178.2599"
y="379.43924"
ry="0" /><text
xml:space="preserve"
id="text1056"
style="font-size:72px;line-height:1.05;font-family:'SF Movie Poster';-inkscape-font-specification:'SF Movie Poster';white-space:pre;shape-inside:url(#rect1056);display:inline;fill-opacity:1"
transform="translate(-16.941563,-11.493549)"><tspan
x="1197.4102"
y="450.81701"
id="tspan2"><tspan
style="font-weight:bold;font-family:'Noto Sans';-inkscape-font-specification:'Noto Sans Bold'"
id="tspan1">$title&#10;</tspan></tspan><tspan
x="1197.4102"
y="541.41714"
id="tspan5"><tspan
style="font-weight:bold;font-family:'Noto Sans';-inkscape-font-specification:'Noto Sans Bold'"
id="tspan3">$subtitle</tspan></tspan></text></g><g
id="g1376"
transform="translate(0,-91.798404)"><rect
style="opacity:0.584223;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:335.437;stroke-dasharray:none;stroke-opacity:1"
id="rect25"
width="560.50372"
height="470.14142"
x="-0.42310402"
y="1232.2604"
ry="0" /><text
xml:space="preserve"
id="text1"
style="font-size:72px;line-height:1.05;font-family:'SF Movie Poster';-inkscape-font-specification:'SF Movie Poster';white-space:pre;shape-inside:url(#rect1);display:inline;fill-opacity:1"
transform="translate(-1160.4646,871.45231)"><tspan
x="1197.4102"
y="450.81701"
id="tspan7"><tspan
style="font-weight:bold;font-family:'Noto Sans';-inkscape-font-specification:'Noto Sans Bold'"
id="tspan6">$persons</tspan></tspan></text></g></g></svg>

Before

Width:  |  Height:  |  Size: 7 MiB

After

Width:  |  Height:  |  Size: 7 MiB