Porting Examples and Demos

Nick Maliwacki edited this page Sep 21, 2018 · 56 revisions

Games and Game Engines

Name Description Author Submitted Link Source
Geogram A library of geometric algorithm and interactive 3D graphics. Emscripten target natively supported by the official version. The GUI is done with ImGUI, a version adapted to Emscripten is bundled in GEOGRAM. Embedded LUA interpreter in GEOCOD
Unity Demos Angry Bots, Tanks (wasm) (older DT2 blogpost)
Tappy Chicken The full Unreal Engine 3, which was ported in 4 days
Nebula3 The Nebula3 engine
Bullet The Bullet physics engine compiled to JavaScript with convenient automatically-generated bindings (through ammo.js)
Esenthel Engine Live Demo
Quake 3 QuakeJS, a port of ioquake3
Doom The open source Freedoom game assets running on PrBoom, which is based on the open source Doom code
UNIGINE Port of the UNIGINE game engine by ACTISKU
BananaBread Port of Sauerbraten/Cube 2. Project page here.
Torque 2D Demo An experimental port of the Torque 2D game engine. Blogpost
Voxel Invaders Blogpost
Dune II Port of OpenDune, an open source implementation of the classic real-time strategy game Dune II
Me & My Shadow A 2D SDL platform/puzzle game (original here)
Ceferino Port of a 2D action game (also available here)
SuperTux Port of SuperTux by @forandom
Box2D The Box2D physics engine compiled to JavaScript with convenient automatically-generated bindings (through box2d.js)
Online Freecell solver (Text-based) Port of libfreecell-solver (part of Freecell Solver) to JavaScript, with some jQuery glue
ScummVM ported to HTML5 Demos of Monkey Island 1, Sam & Max, Day of the Tentacle, Indiana Jones and other LucasArts classics in your web browser!
drahtkern tech demo A cross-platform 3D engine techdemo developed by MADE
Open Syobon Action A parody of Super Mario. Original here.
Randomedia Game An endless game with aliens and sheeps. Source code on Github.
Minko Engine A free and open source 3D engine for HTML5, iOS, Android, Windows, Mac and Linux.
Minko - Sponza The famous Sponza 3D model rendered with the Minko Engine.
Minko - Venus de Milo A 3D scan of the Venus de Milo rendered with the Minko Engine.
Recast.js - Port of Recast navigation mesh library
Oxygine A free and open source 2D game framework for HTML5, iOS, Android, Windows, Mac and Linux.
Duck Dynasty Slots A web version of Duck Dynasty Slots which was previously a mobile-only game. Blogpost
CaveExpress and CavePacker Free and open source 2D games (SDL2). https://github.com/mgerhardy/caveexpress
GDevApp Webapp to create 2D games without programming. Based on open source GDevelop project, ported to JS with Emscripten.
EasyRPG Player HTML5 port Port of the EasyRPG Player RPG Maker 2000/2003 games interpreter.
BrowserHack Port of NetHack.
Simon Tatham's Puzzles
amazeballz pool Free 3D pool game you can play in your browser. Created using Ragtag's C++ interactive software engine, theRedEngine, compiled to JS/HTML5 using Emscripten. Ragtag Developments Ltd 02/04/2016 Game Information/Homepage
raylib A simple and easy-to-use library to learn videogames programming. Check online examples. @raysan5 6-Aug-2016 www.raylib.com https://github.com/raysan5/raylib
DIV DIV Games Studio, a full cross platform games development IDE + Compiler @MikeDX 19-Nov-2016 www.div-arena.co.uk https://github.com/DIVGAMES/DIV-Games-Studio
Pong Another version of the famous oldie! @Jackbenfu 08-Nov-2017 jackbenfu.itch.io/pong https://github.com/Jackbenfu/Pong


Name Description Author Submitted Link Source
MeshLabJS Pure client side version of the open source mesh processing system MeshLab
Autodesk FormIt 3D conceptual design application
OpenGL ES 2.0 Gears OpenGL ES 2.0 rendering compiled to WebGL
Rawson.js An experimental Camera RAW viewer in Javascript, based on an emscripten port of dcraw.c
dcraw.js Simple port of dcraw.c into a JavaScript Library
Crunch DXT1 Texture Compression Using Crunch to compress DXT1 textures for use in browsers supporting compressed textures. Online demo page using library.
Topologic Simple viewer for higher-dimensional geometric primitives and fractals.
Verovio A library for engraving MEI music notation into SVG


Name Description Author Submitted Link Source
JSMESS JavaScript port of the MESS emulator
Classic Mac OS Mac Plus emulator using PCE
Moonjs Simulator for the Apollo Guidance Computer (AGC) used in the Apollo Program's lunar missions
VICE.js Versatile Commodore Emulator for JavaScript
Chiptunes Forever HTML5/WebAudio versions of various popular chiptune players: AdPlug, Sc68, Tiny'R'Sid, UADE, XMP, ZXTune https://github.com/wothke
qemu.js Work in progress. Includes some implementation of machine-code-to-JS translator https://github.com/atrosinenko/qemujs

Application Frameworks

Name Description Author Submitted Link Source
pepper.js Ports of miscellaneous PNaCl apps (earth, voronoi, bullet, etc.)
Qt Ports of various Qt demos

Programming Languages

Name Description Author Submitted Link Source
C/C++ Clang and LLVM
Lua The Lua VM, ported in lua.vm.js
Dao Port of the Dao language
mruby Port of mruby, a lightweight implementation of the Ruby language
Python, Ruby, Lua The popular dynamic languages Python, Ruby and Lua, compiled to JavaScript (Older Python demo )
Perl Port of (micro)perl-5.16.3
pypy.js JIT Python Interpretor Ryan Kelly github Homepage
JavaScript The JavaScript engine of WebKit mbbill
Nix Nix in javascript for teaching programming in the Nix language qknight https://nixcloud.io/tour https://lastlog.de/blog/posts/tour_of_nix.html


Name Description Author Submitted Link Source
Developing a Simple Game of Air Hockey Using C and OpenGL ES 2 for Android, iOS, and the Web This is a set of tutorials that takes a look at a very simple game developed for Android and ports it to the web by using emscripten.


Name Description Author Submitted Link Source


Name Description Author Submitted Link Source
openFrameworks openFrameworks ported via Emscripten
Vim.js Vi IMproved
GnuPG The GNU Privacy Guard suite
OpenSCAD Solid 3D CAD Modeller
bardecode ExactImage's barcode scanner
LaTeX and BibTeX Ports of TeX Live's pdflatex and bibtex tools (using texlive.js)
ctags Port of ctags
gnuplot Port of gnuplot
LLVM IR Compile and run LLVM IR in JS, using compiled parts of LLVM + emscripten
Graphviz Graph visualization software (port is here)
PNG Crush PNG optimizer in a web page
XML schema validation XML validation in pure JS using compiled libxml
hpdf.js Create PDF files in pure JS using compiled libharu
SQLite SQLite compiled to JavaScript with an easy-to-use API (through sql.js)
Text-to-Speech eSpeak, a speech synthesizer, compiled to JavaScript.
Poppler PDF rendering in JavaScript, using Poppler and FreeType. Warning: Very large (>12MB) download.
FreeType TrueType font rendering in JavaScript, using FreeType
Pocketsphinx.js Speech recognition in JavaScript, using PocketSphinx and the Web Audio API
Phonetisaurus Port of grapheme-to-phoneme (g2p) engine phonetisaurus used to create dictionaries for pocketsphinx, to javascript
ogg.js libogg, libvorbis, and libopus compiled to JavaScript for Aurora.js
MiniSat Port of the MiniSat SAT solver
Boolector Port of the Boolector SMT solver
videoconverter.js A port of the FFmpeg video utilities
audioconverter.js The FFmpeg port with lame, vorbis and fdk-aac libraries for audio transcoding
ffmpeg.js Another port of the FFmpeg intended for WebM encoding
PDCurses Port of PDCurses
astyle.js Port of Artistic Style sass.js Port of libsass
epanet.js Hydraulic analysis of water supply networks
TinyGL.js Implementation of a subset of OpenGL 1.1 compatible API in JavaScript
PDFium.js Render PDF using PDFium in JavaScript
aalib.js Port of aalib
bb.js Port of bb, the demo of aalib
aaWebCam Render webcam using aalib
typespeed.js Port of typespeed
glpk.js (partial) Port of GLPK (GNU Linear Programming Kit)
lmfit.js Port of lmfit, a curve fitting library
y4m.js Wrapper of MJPEG Tools, to support decoding of Y4M files
LaTeX Base Web-based LaTeX editor that uses a LaTeX compiler built with Emscripten lambdabaa 06/29/16 Link
spatiasql.js Port of SpatiaLite, a spatial DBMS
tesseract.js Port of Tesseract, an OCR engine antimatter15 http://tesseract.projectnaptha.com/
ccv.js Partial port of CCV, a computer vision library
WASM-ImageMagick ImageMagick ported via Emscripten, image transformation and manipulation KnicKnic 2018-09-20 https://knicknic.github.io/imagemagick/ https://github.com/KnicKnic/WASM-ImageMagick

Other Examples

Name Description Author Submitted Link Source
zopfli.js Zopfli, slow but smaller zlib/gzip compression
zpipe zlib compiled to JS
zee.js Another port of zlib to JS (focused on compressing/decompressing of gzip files)
lzma.js LZMA ported to JS
sql.js SQLite ported to JS
libtess2.js libtess2 compiled to JavaScript
Projects using asm.js
WAM DAW style audio plug-ins for the Web Jari Kleimola & Oli Larkin 20-Nov-2017 webaudiomodules.org github
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.