App-Icon: weicher, kurzer Verlauf zwischen Schatten- und Lichthälfte

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012bGzgsxrmbBhDzeMV2L57D
This commit is contained in:
Lichtkasten DevandClaude Opus 5.5 committed 2026-11-05 01:08:26 +00:00
1 parent 2db6421537
commit dd022b6900
4 files changed
+1 -1

No files matched your search

+1 -1
View File
@@ -516,7 +516,7 @@ def v_blende(bold=1.0, size=1024, ss=SS, n=8, bend=0.0020, rot=-90.0):
c = (np.arange(S, dtype=np.float32) + 0.5) / ss
X, Y = np.meshgrid(c - cx, c - cy)
rho = np.hypot(X, Y)
lit = smoothstep(-3.0, 3.0, X) # 0 = shadow half, 1 = lit half
lit = smoothstep(-36.0, 36.0, X) # shadow half → lit half, short soft gradient
# warm light spilling out of the lit half onto the face
outside = np.clip(rho - R, 0, None)