Marbellous is a WebApp to generate paper marbling patterns. We aim for the best possible performance by using WebASM and WebGL.
You can play with the current version at github pages.
required tooling
- Clone the repository and sub-repositories with:
git clone https://github.com/t-erxleben/marbellous.git
- Create and enter the build directory:
cd marbellous mkdir build cd build
- Make sure to load the emscripten environment.
- Initialize cmake
emcmake cmake ../backend/
. - Build WebASM code and collect needed files
cmake --build .
- Collect the needed files
cmake --install .
- The results are now in the
page
subdirectory:cd page
- You may copy this files or serve it with
emrun index.html
The developer documentation is build with Doxygen and is available at github pages.
We use PEG.js to parse syntax. Thank you for this great tooling. Also a shout out to fast-png for that easy there easy to use png encoder.