pygfx / shadertoy

Shadertoy implementation based on wgpu-py
BSD 2-Clause "Simplified" License
10 stars 0 forks source link

Add API functionality #25

Closed Vipitis closed 3 months ago

Vipitis commented 4 months ago

Part of #8

Adds functionality to directly interact with the shadertoy website via the api they offer (avoids copy and paste). Also includes a basic CLI with entry point to test this easier. (requires force-reinstall via pip to show up)

> wgpu-shadertoy XcS3zK

Had snippets like this laying around from all the debugging anyway, it's really useful so polishing this up! todos: