Webgl2

Open-source projects categorized as Webgl2

Top 23 Webgl2 Open-Source Projects

  • three.js

    JavaScript 3D Library.

  • Project mention: Implementing Bloom Effect with Mapbox and Three.js | dev.to | 2024-04-08

    Regarding the optimization of the effect, I found an issue on the three.js GitHub repository: https://github.com/mrdoob/three.js/issues/14104 The alpha channel issue seems to be a difficult problem, which has been present since 2018. At the end of the discussion, a solution proposed by a contributor is not to modify the UnrealBloomPass but to blend the source texture and target texture in the shader.

  • BabylonJS

    Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.

  • Project mention: Show HN: My wife and I made a maze game | news.ycombinator.com | 2024-04-12
  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • engine

    Fast and lightweight JavaScript game engine built on WebGL and glTF

  • Project mention: Gamedev.js Jam 2024 start and theme announcement! | dev.to | 2024-04-13

    10 × PlayCanvas Personal plan for 12 months

  • maplibre-gl-js

    MapLibre GL JS - Interactive vector tile maps in WebGL2

  • Project mention: Protomaps – A free and open source map of the world | news.ycombinator.com | 2023-10-23

    (.shp .gpkg ...) | ogr2ogr -> .geojson | tippecanoe -> .pmtiles

    for OpenStreetMap data there's planetiler[4], and and openmaptiles[5] styles that work with Maplibre

    with those combinations you've got a great start to something you can host for pennies on AWS S3+CloudFront or Cloudflare R2, with an open source data pipeline

    [1] https://maplibre.org/

  • melonJS

    a fresh, modern & lightweight HTML5 game engine

  • cocos-engine

    Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.

  • Project mention: Not only Unity... | /r/opensourcegames | 2023-11-11
  • twgl.js

    A Tiny WebGL helper Library

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • curtainsjs

    curtains.js is a lightweight vanilla WebGL javascript library that turns HTML DOM elements into interactive textured planes.

  • LayaAir

    LayaAir is a fully platform rendering engine with rich 2D/3D rendering capabilities and a mature integrated development platform

  • react-ape

    🦍• React Renderer to build UI interfaces using canvas/WebGL (TV and Hardware-Accelerated GPU development based)

  • butterchurn

    Butterchurn is a WebGL implementation of the Milkdrop Visualizer

  • Project mention: Show HN: SlideSynth | news.ycombinator.com | 2024-02-29

    Yes, the visuals are from the same tradition as old winamp plugins: https://github.com/jberg/butterchurn

  • Spector.js

    Explore and Troubleshoot your WebGL scenes with ease.

  • Project mention: Show HN: Volume rendering 3D data in Three.js and GLSL | news.ycombinator.com | 2024-04-21

    Author of the WebGL volume rendering tutorial [0] you mentioned in the readme here, great work!

    Working in WebGL/JS is nice since you can deploy it everywhere, but it can be really hard for graphics programming as you've found because there are very few tools for doing real GPU/graphics debugging for WebGL. The only one I know of is [1], and I've had limited success with it.

    WebGPU is a great next step, it provides a modern GPU API (so if you want to learn Metal, DX12, Vulkan, they're more familiar), and modern GPU functionality like storage buffers and compute shaders, not to mention lower overhead and better performance. The WebGPU inspector [2] also looks to provide a GPU profiler/debugger for web that aims to be on par with native options. I just tried it out on a small project I have and it looks really useful. Another benefit of WebGPU is that it maps more clearly to Metal/DX12/Vulkan, so you can use native tools to profile it through Chrome [3].

    I think it would be worth learning C++ and a native graphics API, you'll get access to the much more powerful graphics debugging & profiling features provided by native tools (PIX, RenderDoc, Nvidia Nsight, Xcode, etc.) and functionality beyond what even WebGPU exposes.

    Personally, I have come "full circle": I started with C++ and OpenGL, then DX12/Vulkan/Metal, then started doing more WebGL/WebGPU and JS/TS to "run everywhere", and now I'm back writing C++ but using WebGL/WebGPU and compiling to WebAssembly to still everywhere (and native for tools).

    With WebGPU, you could program in C++ (or Rust) and compile to both native (for access to debuggers and tools), and Wasm (for wide deployment on the web). This is one of the aspects of WebGPU that is most exciting to me. There's a great tutorial on developing WebGPU w/ C++ [4], and a one on using it from JS/TS [5].

    [0] https://www.willusher.io/webgl/2019/01/13/volume-rendering-w...

    [1] https://spector.babylonjs.com/

    [2] https://github.com/brendan-duncan/webgpu_inspector

    [3] https://toji.dev/webgpu-profiling/pix

    [4] https://eliemichel.github.io/LearnWebGPU/

    [5] https://webgpufundamentals.org/

  • gpu-io

    A GPU-accelerated computing library for running physics simulations and other GPGPU computations in a web browser.

  • Project mention: Share your CA/Alife programs for my students! | /r/cellular_automata | 2023-05-13
  • detect-gpu

    Classifies GPUs based on their 3D rendering benchmark score allowing the developer to provide sensible default settings for graphically intensive applications.

  • uivonim

    Fork of the Veonim Neovim GUI

  • Project mention: Pulsar, the best code editor since Atom | news.ycombinator.com | 2024-02-20
  • molstar

    A comprehensive macromolecular library

  • streets-gl

    🗺 OpenStreetMap 3D renderer powered by WebGL2

  • Project mention: Infinitown | news.ycombinator.com | 2024-04-22
  • TimeChart

    An chart library specialized for large-scale time-series data, built on WebGL.

  • Ashes

    WebGL2.0 3D Engine - Global Illumination - RayTracing (by but0n)

  • kool

    An OpenGL / WebGPU engine for Desktop JVM, Android and Javascript written in Kotlin (by fabmax)

  • glNoise

    A collection of GLSL noise functions for use with WebGL with an easy to use API.

  • runty8

    A Pico8 clone in Rust.

  • shader-web-background

    Displays GLSL fragment shaders as a website background. Supports offscreen buffers and floating point textures on almost any browser and hardware. Compatible with Shadertoy.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Webgl2 related posts

Index

What are some of the best open-source Webgl2 projects? This list will help you:

Project Stars
1 three.js 98,873
2 BabylonJS 22,456
3 engine 9,105
4 maplibre-gl-js 5,712
5 melonJS 5,703
6 cocos-engine 5,306
7 twgl.js 2,564
8 curtainsjs 1,607
9 LayaAir 1,592
10 react-ape 1,558
11 butterchurn 1,491
12 Spector.js 1,238
13 gpu-io 1,168
14 detect-gpu 984
15 uivonim 612
16 molstar 583
17 streets-gl 546
18 TimeChart 330
19 Ashes 320
20 kool 248
21 glNoise 222
22 runty8 209
23 shader-web-background 196

Sponsored
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com