5 releases (3 stable)

4.1.3 Oct 31, 2024
3.0.0 Nov 3, 2024
2.0.2 Oct 31, 2024
2.0.1-alpha Sep 18, 2023
1.0.5 Apr 16, 2023

#33 in Video

43 downloads per month

LGPL-3.0-or-later

1.5MB
29K SLoC

C++ 19K SLoC // 0.1% comments C 9K SLoC // 0.2% comments Rust 882 SLoC // 0.1% comments GLSL 462 SLoC // 0.1% comments Happy 145 SLoC Lex 100 SLoC // 0.1% comments Bitbake 65 SLoC // 0.5% comments

Contributors Forks Stargazers Issues MIT License Crates.io Downloads


projectM

Safe-wrapper bindings for ProjectM

Docs · Example · Report Bug · Request Feature


Table of Contents
  1. Getting Started
  2. Usage
  3. Contributing
  4. License
  5. Support
  6. Contact

Getting Started

To get this crate up and running properly, you'll need to install some prerequisites.

Prerequisites

Depending on the OS/distribution and packaging system, libraries might be split into separate packages with binaries and development files. To build projectM, both binaries and development files need to be installed.

General build dependencies for all platforms:

  • Rust
  • A working build toolchain.
  • CMake: Used to generate platform-specific build files.
  • OpenGL: 3D graphics library. Used to render the visualizations.
  • or GLES3: OpenGL libraries for embedded systems, version 3. Required to build projectM on Android devices, Raspberry Pi, Emscripten and the Universal Windows Platform.

Only relevant for Windows:

  • vcpkg: C++ Library Manager for Windows. Optional, but recommended to install the aforementioned library dependencies.
  • GLEW: The OpenGL Extension Wrangler Library. Only required if using CMake to configure the build, the pre-created solutions use a bundled copy of GLEW.

(back to top)

Usage

# Cargo.toml

[dependencies]
projectm = { version = "1.0", features = [] }   # Available features: playlist

(back to top)

Example

Check out the frontend-sdl repo for an example on how to utilize the projectM library.

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the LGPL-2.1 license. See LICENSE for more information.

(back to top)

Support

Discord

(back to top)

Contact

Blaquewithaq (Discord: SoFloppy#1289) - @anomievision - anomievision@gmail.com

(back to top)

Dependencies