webgl-framework
three.js
webgl-framework | three.js | |
---|---|---|
2 | 456 | |
4 | 99,713 | |
- | - | |
0.0 | 9.9 | |
10 months ago | 5 days ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
webgl-framework
-
Creating mountains landscape in OpenGL ES
After the terrain we draw a sky hemisphere object with the basic DiffuseShader, and then draw 11 cloud sprites. Then we draw a sun sprite. These transparent objects are rendered without writing to the depth buffer. Clouds and sun have trimmed geometries for less overdraw. You can read about this optimized sprites technique here. We decided not to use soft particles for clouds because scene size allowed us to place them so that they donβt intersect with other geometries while still partially occluding some peaks. Not using soft particles is beneficial for performance because they require additional render pass to render scene depth.
-
Rendering dunes terrain in WebGL
Historically, the web demo was created first β it was used as a prototyping playground to compose a scene and to fine-tune shaders. Also, this really helps in sharing work between a team of two people without necessity to learn Android Studio for both. And when everything was polished and looked good enough, an Android app was created quite fast based on the web demo code. Porting code to Android is a quite straightforward and easy process because our WebGL framework has the same method signatures as the framework used in Android apps.
three.js
-
A Deep Dive into Three.js: Exploring the Beauty of 3D on the Web π
Draco Compression https://github.com/mrdoob/three.js/blob/master/examples/jsm/loaders/DRACOLoader.js : An example of how to use Draco compression with Three.js.
- Three.js Shading Language
-
Space, Rockets and GPU particles
We also used three.js to setup a scene and manage resources.
-
Top 10 JavaScript Animation Libraries
Three.js (99.1k β) β A popular JavaScript library used for creating and displaying 3D computer graphics on the web. It provides a high-level API that abstracts away the complexities of WebGL, a low-level graphics API, making it easier for developers to work with 3D graphics in the browser.
-
I've made game engine (I think)
Hi! With Python and ThreeJS (https://threejs.org/) I have made app to make easy 3d visualisation, which you can test in browser. Like this:
-
Implementing 3D Graphics in React
In React, there are different libraries for rendering 3D. In this article, we will focus on how to use the Three.js Library, React Three Fiber library, and the React Three Drei library for creating 3D objects.
-
Implementing Bloom Effect with Mapbox and Three.js
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.
-
Finding Stars and Affirmations in the Sky with Three.js for Ayra Starr
Here's how we used Three.js to place and find affirmations in the sky.
- Ask HN: Tips to get started on my own server
-
Incredible JavaScript Animation Libraries
Three.js is dedicated to generating 3D visuals, offering a powerful suite of features and tools. It is built atop WebGL and optimizes GPU usage for rapid rendering, ensuring smooth performance across devices, including those with limited resources. Three.js's versatility allows for the creation of a vast spectrum of 3D graphics and animations, ranging from simple shapes to intricate models.
What are some alternatives?
engine - JavaScript game engine built on WebGL, WebGPU, WebXR and glTF
BabylonJS - Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
webgl-mountains - Icelandic terrain with different times of day.
p5.js - p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs β
webgl-dunes - WebGL dunes demo
model-viewer - Easily display interactive 3D models on the web and in AR!
curtainsjs - curtains.js is a lightweight vanilla WebGL javascript library that turns HTML DOM elements into interactive textured planes.
heatmap.js - π₯ JavaScript Library for HTML5 canvas based heatmaps
A-Frame - :a: Web framework for building virtual reality experiences.
framer/motion - Open source, production-ready animation and gesture library for React
fabric.js - Javascript Canvas Library, SVG-to-Canvas (& canvas-to-SVG) Parser
processing.js