Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

evoyy/projectm-webgl-demo

Repository files navigation

projectM WebGL Demo

Build the projectm-emscripten-builder image

docker build --tag projectm-emscripten-builder .

Build the demo

./build.sh

The demo will be built into the build directory. Serve this directory over HTTP and load /demo.html in a browser.

Python has the ability to serve a directory over HTTP from the command line using

python -m http.server

If you don't have python installed you can use the python in the docker image, setting an alias for convenience:

alias serve-dir='docker run -t --rm -u $(id -u):$(id -g) -v $(pwd):/src --network=host projectm-emscripten-builder python3 -m http.server'

After that you can build and serve the demo like this:

./build.sh && cd build && serve-dir && cd ..

Access the demo at http://127.0.0.1:8000/demo.html

Windows version

build.bat && cd build && python -m http.server && cd ..

Clean up

unalias serve-dir
docker rmi projectm-emscripten-builder

About

This is an attempt to get projectM running in an HTML canvas.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /