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:
1 parent
2db6421537
commit
dd022b6900
4 files changed
+1
-1
No files matched your search
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 415 KiB After Width: | Height: | Size: 418 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user