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 |
interface Functor<T> { | |
map<U>(f: (x: T) => U): Functor<U> | |
} | |
class Box<T> implements Functor<T> { | |
value: T | |
constructor(x: T) { | |
this.value = x | |
} | |
map<U>(f: (x: T) => U): Box<U> { |
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 |
#!/bin/bash | |
TEMPDIR=`mktemp -d` | |
ESLINTRC=$TEMPDIR/.eslintrc | |
COMMAND="eslint --color -c $ESLINTRC --rule 'import/no-unresolved: 0' --rule 'import/no-duplicates: 0' --rule 'import/export: 0'" | |
git show HEAD:.eslintrc > $ESLINTRC | |
echo "### Ensure changes follow our code style... ####" | |
# See https://www.kernel.org/pub/software/scm/git/docs/githooks.html#pre-receive |
(* SETUP | |
1. Create an Application in Automator. | |
2. Add a Run AppleScript action. | |
3. Paste the content of this gist instead of the provided script skeleton. | |
4. Save the app, drag it to your dock and/or set it as the default app for | |
the filetypes of your choice using the Open With dialog in Finder. | |
NOTES ON USAGE |
;;; interactive javascript shell with elnode -*- lexical-binding: t -*- | |
(elnode-app elnode-ijs-dir comint uuid) | |
(defvar elnode-ijs/input nil | |
"Input for the js shell. | |
Each element is a cons of a uuid and the javascript to send.") | |
(defvar elnode-ijs/input-hash (make-hash-table :test 'equal) |