Skip to content

▶️ React Music Player with Fragment Shader Visualization ✨.

License

Notifications You must be signed in to change notification settings

olejrosendahl/shader-player

Repository files navigation

shader-player

React Music Player with Fragment Shader Visualization

Features

  • Music controllers to control music playback.
  • Visualization controller to pick fragment shader.
  • Fragment shader is affected by the music (should be configurable).
  • Fragment shader is affected by volume.
  • More...

Development

An audio file is needed for the player to work. Place the audio file in assets/audio/audio.mp3. The audio file needs to be in either mpeg or ogg format.

The player uses React to generate the GUI to control the music and the shaders. Rebundle the sources during development:

$ gulp watch --target src/js/shader-player.js

Since we'll be serving files from the file system we need to run a web-server. Any server will do. For development I'm currently using budo, start the server with:

$ npm start

Tests

Run tests with:

$ gulp jest

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/olejrosendahl/shader-player. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The software is available as open source under the terms of the MIT License.

About

▶️ React Music Player with Fragment Shader Visualization ✨.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages