From 19edd01e3cff4e90dd9e4e9a13bc6c93e8f21c40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20COUDERC?= Date: Tue, 28 Feb 2023 00:21:32 +0100 Subject: [PATCH] =?UTF-8?q?Improvements=20to=20emerald=20plymouth=20theme?= =?UTF-8?q?=E2=80=99s=20visuals.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/changelog | 1 + emerald-theme/plymouth/emerald.script | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index be6b46f..5cd3a08 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ desktop-base (12.0.4) UNRELEASED; urgency=medium * Add Debian swirl in circle as default profile icon for new users. * Add more sizes for the Emerald wallpaper. (Closes: #1027841) + * Improvements to emerald plymouth theme’s visuals. -- Aurélien COUDERC Sat, 18 Feb 2023 23:58:45 +0100 diff --git a/emerald-theme/plymouth/emerald.script b/emerald-theme/plymouth/emerald.script index ac5becd..cd493c7 100644 --- a/emerald-theme/plymouth/emerald.script +++ b/emerald-theme/plymouth/emerald.script @@ -27,14 +27,14 @@ #------------------------------- Constants ----------------------------------------- -NB_ANIM_STEPS = 70; -NB_REFRESHS_BETWEEN_ANIMS = 1; +NB_ANIM_STEPS = 60; +NB_REFRESHS_BETWEEN_ANIMS = 2; # Initial position of the center of the logo in % of background LOGO_CENTER_PCT.x = 0.5; # Debian swirl image position in % of screen height & width LOGO_CENTER_PCT.y = 0.55; LOGO_SIZE_PCT = 0.48; # Debian + emerald image size in % of smallest screen dimension -LOGO_GLOW_SIZE_PCT = 0.4; # Debian swirl image size in % of smallest screen dimension +LOGO_GLOW_SIZE_PCT = 0.8; # Debian swirl image size in % of smallest screen dimension #------------------------------- Globals ------------------------------------------- # are we currently prompting for a password? @@ -972,7 +972,7 @@ fun update_glow_anim () { global.anim_iter = 0; } #DebugMedium("iter = " + global.anim_iter); - glow_opacity = 0.6 + 0.4 * Math.Cos(global.anim_iter / NB_ANIM_STEPS * 2 * Math.Pi); + glow_opacity = 0.7 + 0.3 * Math.Cos(global.anim_iter / NB_ANIM_STEPS * 2 * Math.Pi); #Debug("glow_opacity = " + glow_opacity); if (global.anim_start_time != global.progress_time && global.anim_status != "running") { global.anim_start_time = global.progress_time;