detect-gpu
webgl-rock-pillars
detect-gpu | webgl-rock-pillars | |
---|---|---|
3 | 3 | |
984 | 22 | |
0.1% | - | |
7.1 | 2.2 | |
3 months ago | about 1 month ago | |
TypeScript | TypeScript | |
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.
detect-gpu
-
Does anyone know how to make a website that has both a standard and experience and a more fun, three.js 3D experience that can be toggled between by pressing a button?
It's not really what you're asking, but I made both https://www.tentacular.com/ and https://www.stickittothestickman.com/ with a non-three-js fallback using detect-gpu (through drei).
-
PCSX2 - New website arises from the ashes
Maybe try detect-gpu to conditionally switch from three.js or a webm fallback? Shame there isn’t really a well supported way to do GPU detection until WebGPU rolls out.
- Detect GPU in browser (like a user-agent detection for the GPU)
webgl-rock-pillars
-
Randomized floating rocks WebGL demo
Article explaining rendering+generation of scene: https://medium.com/@keaukraine/floating-islands-webgl-demo-3bba99a004ee Source code on GitHub: https://github.com/keaukraine/webgl-rock-pillars
-
Floating Islands WebGL demo
To make an impression of an endless random scene there were 2 options: a true random scene and a looped generated path. The first option requires object placement on the fly in front of the camera which means these positions have to be transferred to GPU dynamically. So a better option is to generate a static looped path once and draw objects along it as the camera moves. You can find a function to generate a base spline in the positionOnSpline function in ObjectPlacement.ts file. It creates a circular looped path for the camera with oscillating radius. A couple of harmonics are applied to randomize the circle radius so it appears random but is still perfectly looped. Then, all objects are placed around this path - trees are under the camera, rocks above and to the sides.
What are some alternatives?
blog-nojs-fingerprint-demo - A demo for the no-JavaScript fingerprinting article
molstar - A comprehensive macromolecular library
pcsx2 - PCSX2 - The Playstation 2 Emulator
BabylonJS - Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
TimeChart - An chart library specialized for large-scale time-series data, built on WebGL.
Spector.js - Explore and Troubleshoot your WebGL scenes with ease.
particle-emitter - A particle system for PixiJS
GMLTouch-Minecraft-2D - JavaScript Minecraft 2D (cross-platform)
Ashes - WebGL2.0 3D Engine - Global Illumination - RayTracing
pcsx2 - PCSX2 - The Playstation 2 Emulator
t5c - Building a open source multiplayer 3d rpg using babylon.js and colyseus