A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
<html> | |
<body> | |
<h4>websocket</h4> | |
<h5>Group: <span id="group">darwin</span></h5> | |
<!-- a hardoced group name --> | |
<button onclick="bjoin();">join group</button><br> | |
<input id="text" type="text"/> | |
<span id="out"></span> | |
<script> | |
var group=document.getElementById("group").textContent; |
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
// This function is based on the code found at (the original source doesn't work well) | |
// http://stackoverflow.com/questions/20774648/three-js-generate-uv-coordinate | |
// | |
// She following page explains how UV map should be calculated | |
// https://solutiondesign.com/blog/-/blogs/webgl-and-three-js-texture-mappi-1/ | |
// | |
// The following documentation shows what a apherical UV map should look like | |
// https://threejs.org/examples/#misc_uv_tests | |
var ThreeUvMapper = { |
upstream websocket { | |
server localhost:3000; | |
} | |
server { | |
listen 80; | |
server_name localhost; | |
access_log /var/log/nginx/websocket.access.log main; |
/** | |
* This code is licensed under the terms of the MIT license | |
* | |
* Deep diff between two object, using lodash | |
* @param {Object} object Object compared | |
* @param {Object} base Object to compare with | |
* @return {Object} Return a new object who represent the diff | |
*/ | |
function difference(object, base) { | |
function changes(object, base) { |