{"repo":"lume/glas","free":true,"listed":false,"github":"https://github.com/lume/glas","clone":"git clone https://github.com/lume/glas.git","description":"WebGL in WebAssembly with AssemblyScript","language":"TypeScript","stars":938,"topics":["assemblyscript","typescript","webgl","3d","3d-graphics","3d-engine","3d-game-engine","glas","webassembly","wasm"],"license":"MIT","category":"game-templates","readme_excerpt":"GLAS Web GL in WebAssembly with A ssembly S cript. This is a work-in-progress port of Three.js , a JavaScript 3D WebGL library, into AssemblyScript . Motivation It'd be sweet to have a high-performing WebGL engine that runs in the web via WebAssembly and is written in a language that web developers are already familiar with: JavaScript, in the form of TypeScript (a superset of JavaScript with types). Enter AssemblyScript, a toolchain that allows us to write a strictly-typed subset of TypeScript code and compile it to WebAssembly (an assembly-like language representing machine code) for speed. Status #### ⚠️ ALPHA STATE The project is currently in its very early alpha stages. We have an amazing group of programmers building the initial ASWebGLue library. This library allows AssemblyScript programs to call the browser's underlying WebGL interface. This is required before we are able to render anything to the screen. A majority of the Three.js library and its unit tests have been ported over. See the current progress in the project board or review our issues . Goal Our initial port project board we're tracking all the classes that need to be ported. The initial goal is to reproduce the following basic Three.js demo, but entirely in AssemblyScript: Initial Goal: https://codepen.io/trusktr/pen/EzBKYM Contribute A brief overview of the work consists of picking a Three.js class, translating it from JavaScript (with TypeScript declaration files), and porting into AssemblyScript (effe","default_branch":null,"files":null,"tree":[],"storefront":"/r/lume","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lume/glas/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}