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 |
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 |
/!\ Be very carrefull in your setup : any misconfiguration make all the git config to fail silently ! Go trought this guide step by step and it should be fine 😉
~/.ssh/config, set each ssh key for each repository as in this exemple:| #Thanks to - https://github.com/damienvanrobaeys/Build-PS1-Systray-Tool | |
| # - https://www.systanddeploy.com/2018/12/create-your-own-powershell.html | |
| # - https://stackoverflow.com/questions/54649456/powershell-notifyicon-context-menu | |
| # - https://adamtheautomator.com/powershell-async/ | |
| [System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms') | out-null | |
| [System.Reflection.Assembly]::LoadWithPartialName('presentationframework') | out-null |
| /** | |
| * @author qiao / https://github.com/qiao | |
| * @author mrdoob / http://mrdoob.com | |
| * @author alteredq / http://alteredqualia.com/ | |
| * @author WestLangley / http://github.com/WestLangley | |
| * @author erich666 / http://erichaines.com | |
| */ | |
| // This set of controls performs orbiting, dollying (zooming), and panning. | |
| // Unlike TrackballControls, it maintains the "up" direction object.up (+Y by default). |
| license: gpl-3.0 |
| import { useEffect, useRef, useState } from 'react'; | |
| import { useFrame, useThree } from '@react-three/fiber'; | |
| import { MapControls, OrthographicCamera, PerspectiveCamera } from '@react-three/drei'; | |
| import type { OrbitControls as OrbitControlsImpl } from 'three-stdlib'; | |
| export function Camera() { | |
| const [oldType, setOldType] = useState('PerspectiveCamera'); | |
| const [coords, setCoords] = useState({ x: 0, y: 0 }); | |
| const gl = useThree((state) => state.gl); |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <style type="text/css"> | |
| #graphicContainer { | |
| width: 400px; | |
| background:#F2F2F2; |
| import numpy as np | |
| def cube_geometry(x, y, z): | |
| xSize = x / 2 | |
| ySize = y / 2 | |
| zSize = z / 2 | |
| positions = np.array([ | |
| [-xSize, ySize, zSize], [xSize, ySize, zSize], | |
| [-xSize, -ySize, zSize], [xSize, -ySize, zSize], |
Bash script to iterate all commits of a given Git repository and extract all files within each commit.
With a Git repository at /path/to/repository and an empty directory at /path/to/output we can run:
./export.sh /path/to/repository /path/to/output| // Reference: https://stackoverflow.com/a/73790035/6908282 | |
| // node convertLinks2Ref.js ReadMe.md RefLinks.md | |
| import * as fs from 'fs' | |
| fs.readFile(process.argv[2], 'utf8', function (err, mainMarkdown) { | |
| if (err) { | |
| return console.log(err); | |
| } | |
| let newMarkdown = existingRefLinks(mainMarkdown); |