From 2aa35e2c108f954949ec001f1e33846379e7cc98 Mon Sep 17 00:00:00 2001 From: untir_l <87096069+untir-l@users.noreply.github.com> Date: Sat, 11 Jun 2022 21:13:23 +0530 Subject: Web: canvas now updates on the fly based on input Also some other minor changes to thw web README.md and the Makefile, and making some stuff const where they weren't throughout the lib/ tree as well. --- README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 3d75887..a780310 100644 --- a/README.md +++ b/README.md @@ -32,22 +32,16 @@ To build, run `CC=gcc make libhitomezashi.a`. This is in the `cli/` directory. Run `./hitomezashi_cli -h` for usage info. -Colours are supported! - -The output of the CLI app is a BMP image as this is supported by default in SDL2; this will change eventually to output PNGs since BMP is an antiquated format. For now, you can convert using FFmpeg or similar. - To build, run `CC=gcc make hitomezashi_cli`. ### Hitomezashi Web App -Try it: *link pending upload*. +Try it: *link pending*. To build, first run `make clean` if you previously built to native code, then (with Emscripten SDK in your PATH) run `emmake make hitomezashi_web.html`. You will need to serve, from a web server: `hitomezashi_web.html`, `hitomezashi_web.js`, `hitomezashi_web.wasm` in order for it to work; the `file://` protocol may not be sufficient. -The UI is self-explanatory. - ## Technical and copyright information Written in C11 with SDL2. Code style: `make format-code` will run `clang-format` with the correct parameters. -- cgit v1.2.3-57-g22cb