- Visit the ShaderToy sketch in your browser (needed because of Cloudflare validation)
- Watch network traffic in the development console. Look for the request that downloads a JSON with the sketch's content:

- Save the response into
public/shadertoysassk3tch.json(keeping the sketch's ID). - In
assets/projects.jsuse this URL:https://creativecode.berlin/shadertoys/?shader=sk3tch
To make this work, we are hosting three files that come from ShaderToy:
- effect.js
- piLibs.js
- index.html
The HTML has a few embedded scripts. These have been manually edited so the sketch is shown in embed mode, and no requests are made to unneeded assets like button images. The initial logic made a POST request to /shadertoy. This has been replaced with the ?shader= query parameter.