From 45a0f0df407cd06efe6fcb9cf9223ad222f7cd2c Mon Sep 17 00:00:00 2001 From: Kazik Pogoda Date: Thu, 24 Oct 2024 16:29:28 +0200 Subject: [PATCH] The shader update, to move slower while having higher initial zoom. List of software and services used during the workshop + info about timing and xemantic discord server --- .../index.html | 90 ++++++++++++++----- 1 file changed, 68 insertions(+), 22 deletions(-) diff --git a/workshops/2024/agentic-ai-for-artists-2024-10-26/index.html b/workshops/2024/agentic-ai-for-artists-2024-10-26/index.html index 308c8f1..83b23e8 100644 --- a/workshops/2024/agentic-ai-for-artists-2024-10-26/index.html +++ b/workshops/2024/agentic-ai-for-artists-2024-10-26/index.html @@ -148,7 +148,7 @@ void main() { vec2 u = gl_FragCoord.xy; vec2 R = iResolution.xy, P, - U = ( u+u - R ) / min(R.x, R.y); + U = ( u+u - R ) / min(R.x, R.y) * .5; float d = length(U), t = iTime, blur = .4 + sin(t * .52) * .2, @@ -176,38 +176,20 @@ vec3 C = 1.+mix( sin(t * vec3(1.13,1.23,1.33) * .3), - sin(t * vec3(1.43,1.53,1.63) * .3), d-.5) *.4*vec3(1,1,-1); - O = vec4(pow(O.rgb, C), 1) * smoothstep(2.1, .7, d); + O = vec4(pow(O.rgb, C), 1) * smoothstep(2.1, .7, d / .5); O = O * O; }