asciiframe
cavernos
Our great sponsors
asciiframe | cavernos | |
---|---|---|
1 | 2 | |
22 | 33 | |
- | - | |
5.4 | 0.0 | |
24 days ago | about 1 year ago | |
Rust | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
asciiframe
cavernos
-
Townscaper Running in the Browser
> It's written in JS which means that it's way smaller
There's nothing inherently large about WebAssembly, it's just that most practical wasm demos bundle emscripten (essentially an entire OS's standard library) or another very heavy layer in order to interop between the JS and WASM world.
As a bit of an experiment to see how small wasm could practically be with a minimal interop layer, I built this little project - the web demo is 90KB of JS + 70KB of wasm:
https://github.com/jordwest/cavernos
It was heavily inspired by this article which manages even smaller builds:
http://cliffle.com/blog/bare-metal-wasm/
There's a lot of room for improvement in terms of size optimisation in most projects, but it's still early days and for now most of them just bundle an OS compatibility layer to get things working quickly.
-
Advice for doing a web-playable 7DRL
- Cavernos (https://github.com/jordwest/cavernos)
What are some alternatives?
tai - tai (Terminal Ascii Images) tool to convert images to text written in Rust
video2ascii - Yet another video to ASCII animation (in Rust)
RoguelikeTutorial2020 - r/RoguelikeDev Does The Complete Roguelike Tutorial
video-to-ascii - It is a simple python package to play videos in the terminal using characters as pixels
scavenger2 - A roguelike
diagwiz - Diagrams as code
bevy_webgl2 - WebGL2 renderer plugin for Bevy game engine
hex - 🔮 Futuristic take on hexdump, made in Rust.
malison - A little terminal emulation package for Dart.
media-to-ascii - CLI and utilities for converting media files (images/videos) to ascii outputs (output media file or print to console). Supports most standard image formats, and some video formats.
Rust-HTML-roguelike - Rust WASM + HTML roguelike