Cogs.js is a component-based 3D graphics engine for modern web applications.
The core engine — Cogs — is written in C++. A thin C bridge exposes it to higher-level languages, giving rise to Cogs.Net (.NET) and Cogs.js (web). For the browser, Cogs is compiled from C++ to WebAssembly via Emscripten, using OpenGL ES / WebGL for rendering. TypeScript definition files and a small ES6 glue layer sit on top to make it pleasant to use from TypeScript.
Cogs has multiple rendering backends (WebGL, Direct3D 11/12, OpenGL, Vulkan, WebGPU), so the engine logic is decoupled from the graphics API and most code is shared across platforms.
Introduction — start here, prior experience is not assumed.
Manual — a reference guide with links into the generated API docs.
Cogs.js is (C) 2014-2026 Kongsberg Digital. All rights reserved.
Contact Thomas Hammer thomas.hammer@kongsbergdigital.com for licensing inquiries.
Also see the licenses for open source used in Cogs.