Skip to content

trikko/BlobEditor

Repository files navigation

BlobEditor

A simple webasm project using raylib. Try it online now!

Demo

Demo of BlobEditor

Build & run

BlobEditor uses emscripten to compile C code.

Step #1: Install emscripten

Follow instructions here

Step #2: Clone this repository and its submodules

git clone --recurse-submodules https://github.com/trikko/BlobEditor/

Step #3: Compile everything

Make sure you activated the emscripten tools as explained here if required. Let's compile the project:

cd BlobEditor
make

Step #4: Serve BlobEditor

You can't run webassembly from your filesystem, so you need to serve the html folder using a (local) webserver.

For the sake of simplicity I use a very simple project written in dlang that you can start running the command dub inside the server folder (but you can use any webserver you like)