From 6c28dd33d096bc5a1e9c833b5ba8875339134e45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?kleines=20Filmr=C3=B6llchen?= Date: Tue, 15 Apr 2025 12:42:52 +0200 Subject: [PATCH] an attempt was made --- fsck2025/__init__.py | 15 +- fsck2025/artwork/intro.svg | 473 ++++++++++-------- .../artwork/pip_template_fsck2024_final.svg | 201 ++++++++ 3 files changed, 467 insertions(+), 222 deletions(-) create mode 100644 fsck2025/artwork/pip_template_fsck2024_final.svg diff --git a/fsck2025/__init__.py b/fsck2025/__init__.py index f39091e..a0a08c0 100644 --- a/fsck2025/__init__.py +++ b/fsck2025/__init__.py @@ -20,6 +20,11 @@ def introFrames(args): # fade in title and persons frames = 1 * fps for i in range(0, frames): + # source: matrix(3.4166273,0,0,3.4166273,-1716.8745,-2685.1066) + # target: matrix(5.414656,0,0,5.414656,-3282.299,-4448.4489) + size = easeOutSine(i, 3, 5.414656, frames) + posx = easeOutSine(i, -1716.8745, -3282.299, frames) + posy = easeOutSine(i, -2685.1066, -4448.4489, frames) yield ( ("title", "style", "opacity", easeOutSine(i, 0, 1, frames)), ("persons", "style", "opacity", easeOutSine(i, 0, 1, frames)), @@ -28,9 +33,17 @@ def introFrames(args): "attr", "transform", # the easing function can’t handle easing from larger to smaller, so use this hacky workaround - f"translate(0,{easeInQuad(frames-i, 0.0, 200.0, frames)})", + f"translate(0,{easeInQuad(frames - i, 0.0, 200.0, frames)})", ), ("glogo", "style", "opacity", easeOutSine(i, 0, 1, frames)), + # scale in the fsck text banner behind the foreground elements + # target size is 5.414656 in both x and y + ( + "fsck-banner", + "attr", + "transform", + f"matrix({size},0,0,{size},{posx},{posy})", + ), ) # show whole image for 5 seconds diff --git a/fsck2025/artwork/intro.svg b/fsck2025/artwork/intro.svg index a6cf792..7e0c489 100644 --- a/fsck2025/artwork/intro.svg +++ b/fsck2025/artwork/intro.svg @@ -7,7 +7,7 @@ viewBox="0 0 1920 1080" version="1.1" id="SVGRoot" - inkscape:version="1.4 (e7c3feb100, 2024-10-09)" + inkscape:version="1.4.1 (93de688d07, 2025-03-30)" sodipodi:docname="intro.svg" enable-background="new" xml:space="preserve" @@ -43,10 +43,10 @@ gradientTransform="matrix(1842.9241,2732.2473,2732.2473,-1842.9241,-1109.8927,745.05835)" spreadMethod="pad" id="linearGradient936"> + + +