All Projects → verygoodgraphics → vgg_runtime

verygoodgraphics / vgg_runtime

Licence: AGPL-3.0 license
VGG Runtime for loading and running designs as apps.

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
Objective-C++
1391 projects
javascript
184084 projects - #8 most used programming language
GLSL
2045 projects
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to vgg runtime

Wasmjit
Small Embeddable WebAssembly Runtime
Stars: ✭ 1,063 (+5494.74%)
Mutual labels:  wasm, emscripten
Emscripten Docker
Docker image with Emscripten to compile ASM.js and WebAssembly
Stars: ✭ 92 (+384.21%)
Mutual labels:  wasm, emscripten
Sql.js
A javascript library to run SQLite on the web.
Stars: ✭ 9,594 (+50394.74%)
Mutual labels:  wasm, emscripten
Cib
clang running in browser (wasm)
Stars: ✭ 685 (+3505.26%)
Mutual labels:  wasm, emscripten
Squark
Rust frontend framework, for web browser and more.
Stars: ✭ 162 (+752.63%)
Mutual labels:  wasm, emscripten
Cppwasm Book
📚 WebAssembly friendly programming with C/C++ -- Emscripten practice
Stars: ✭ 956 (+4931.58%)
Mutual labels:  wasm, emscripten
Wasmer
🚀 The leading WebAssembly Runtime supporting WASI and Emscripten
Stars: ✭ 11,047 (+58042.11%)
Mutual labels:  wasm, emscripten
Rustynes
👾 An NES emulator by Rust and WebAssembly
Stars: ✭ 399 (+2000%)
Mutual labels:  wasm, emscripten
Modern Wasm Starter
🛸 Run C++ code on web and create blazingly fast websites! A starter template to easily create WebAssembly packages using type-safe C++ bindings with automatic TypeScript declarations.
Stars: ✭ 140 (+636.84%)
Mutual labels:  wasm, emscripten
Dcmjs
dcmjs is a javascript cross-compile of dcmtk (dcmtk.org).
Stars: ✭ 92 (+384.21%)
Mutual labels:  wasm, emscripten
Deepminer
deepMiner webminer proxy (update for cryptoNight R)
Stars: ✭ 497 (+2515.79%)
Mutual labels:  wasm, emscripten
Yew
Yew is a modern Rust framework for creating multi-threaded front-end web apps with WebAssembly.
Stars: ✭ 18,243 (+95915.79%)
Mutual labels:  wasm, emscripten
Camaro
camaro is an utility to transform XML to JSON, using Node.js binding to native XML parser pugixml, one of the fastest XML parser around.
Stars: ✭ 438 (+2205.26%)
Mutual labels:  wasm, emscripten
Xwasm
[Work In Progress] WebAssembly Packager and WASM tooling for modern frontend
Stars: ✭ 45 (+136.84%)
Mutual labels:  wasm, emscripten
Edge Sql
Cloudflare Workers providing a SQL API
Stars: ✭ 429 (+2157.89%)
Mutual labels:  wasm, emscripten
Opus Stream Decoder
Instantly decode Ogg Opus audio streams in chunks with JavaScript & WebAssembly (Wasm)
Stars: ✭ 80 (+321.05%)
Mutual labels:  wasm, emscripten
Wasm Git
GIT for nodejs and the browser using https://libgit2.org compiled to WebAssembly with https://emscripten.org
Stars: ✭ 261 (+1273.68%)
Mutual labels:  wasm, emscripten
Wac
WebAssembly interpreter in C
Stars: ✭ 372 (+1857.89%)
Mutual labels:  wasm, emscripten
Assortedwidgets
OpenGL GUI library
Stars: ✭ 92 (+384.21%)
Mutual labels:  wasm, emscripten
Webassembly Examples
From Simple To Complex. A complete collection of webassembly examples.
Stars: ✭ 177 (+831.58%)
Mutual labels:  wasm, emscripten

VGG Runtime

A design engine capable of loading design drafts as well as running design as an emulated app.

Features

  • Game-engine-like ECS architecture targeting high-performance interactive applications
  • First-class support for Sketch to load and render Sketch designs
  • Cross-platform support for running on Linux, macOS and in Browsers
  • WebAssembly support with emscripten compatibility
  • Built-in scripting ability for programming upon design drafts

How to build

This project can be built with CMake using common practice. All dependency is batteries-included (except for SDL) so no extra submodules are needed.

Linux-version building example

mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j8

WebAssembly-version building example

Emscripten SDK is required to build WebAssembly version. You should at least install and activate one version of emsdk before proceeding.

mkdir build.wasm
cd build.wasm
source /path/to/emsdk/emsdk_env.sh
emcmake cmake .. -DCMAKE_BUILD_TYPE=Release
emmake make -j8

How to use as standalone app

The design draft could be created or imported from sketch by our VGG editor. And runtime is capable of loading Sketch or VGG file, and running VGG file if scripts are programmed in.

./runtime -l /path/to/sketch_or_vgg_file

Note that you should put fonts under the same directory for runtime to use.

Built-in basic shortcuts

  • Ctrl+Q to exit
  • Space+MouseDrag to pan
  • Ctrl+MouseWheel to zoom
  • Ctrl+PageDown to switch to next design page
  • Ctrl+PageUp to switch to previous design page

How to embed into your own app

Currently supported embedding environments:

Sketch compatibility

TODO

LICENSE

VGG Runtime is licensed under AGPL. Those who need a commercial version can visit the official VGG website.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].