Motoki Playground is a web-based environment for experimenting with the Motoki shader programming language. It leverages motokigo compiled to WebAssembly (via wasm-pack at /motokigo-wasm) and compiles shaders in web worker and runs the generated GLSL in a WebGL canvas.
/motokigo-wasm: Contains the Motoki compiler wasm bindings./source: Main React + TypeScript application.
- Build the Motoki WebAssembly package:
cd motokigo-wasm
wasm-pack build- Install dependencies for the main app:
npm install- Start the development server:
npm startThe app will be available at http://localhost:8080.
Contributions are welcome! Please open issues or submit pull requests for improvements and bug fixes.
This project is licensed under the MIT License.
