Skip to content

Repository files navigation

Motoki Playground

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.

Screenshot

Project Structure

  • /motokigo-wasm: Contains the Motoki compiler wasm bindings.
  • /source: Main React + TypeScript application.

Building the Application

  1. Build the Motoki WebAssembly package:
cd motokigo-wasm
wasm-pack build
  1. Install dependencies for the main app:
npm install
  1. Start the development server:
npm start

The app will be available at http://localhost:8080.

Contributing

Contributions are welcome! Please open issues or submit pull requests for improvements and bug fixes.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages