Skip to content

Instantly share code, notes, and snippets.

@dmnsgn
dmnsgn / WebGL-WebGPU-frameworks-libraries.md
Last active May 5, 2024 16:18
A collection of WebGL and WebGPU frameworks and libraries

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.

Engines and libraries ⚙️

Name Stars Last Commit Description
three.js ![GitHub
@jganzabal
jganzabal / Nvidia Titan XP + MacBook Pro + Akitio Node + Tensorflow + Keras.md
Last active November 2, 2022 11:43
How to setup Nvidia Titan XP for deep learning on a MacBook Pro with Akitio Node + Tensorflow + Keras
@nijicha
nijicha / install_nodejs_and_yarn_homebrew.md
Last active January 30, 2024 12:14
Install NVM, Node.js, Yarn via Homebrew
@jeromecoupe
jeromecoupe / webstoemp-gulpfile.js
Last active January 21, 2024 16:28
Gulp 4 sample gulpfile.js. For a full explanation, have a look at https://www.webstoemp.com/blog/switching-to-gulp4/
"use strict";
// Load plugins
const autoprefixer = require("autoprefixer");
const browsersync = require("browser-sync").create();
const cp = require("child_process");
const cssnano = require("cssnano");
const del = require("del");
const eslint = require("gulp-eslint");
const gulp = require("gulp");
@ecarlson1201
ecarlson1201 / Shouter
Created August 24, 2018 01:03
String Drills
function shouter(whatToShout) {
return `${whatToShout.toUpperCase()}!!!`
}
/* From here down, you are not expected to
understand.... for now :)
Nothing to see here!
function isDivisible(divisee, divisor) {
return Number.isInteger(divisee / divisor)
}
/* From here down, you are not expected to
understand.... for now :)
Nothing to see here!
@ecarlson1201
ecarlson1201 / Catch Error
Created August 24, 2018 23:31
Control and Flow Drill
function main() {
try {
doAllTheThings()
} catch(e){
reportError(e)
console.dir(e)
}
}
function doAllTheThings() {
function accessFirstItem(array) {
const myArray = array
return myArray[0]
}
function accessThirdItem(array) {
const myArray = array
return myArray[2]
}
function minusLastItem(array) {
return array.slice(0, array.length-1)
}
function copyFirstHalf(array) {
return array.slice(0, array.length/2)
}
/* From here down, you are not expected to
understand.... for now :)
@ecarlson1201
ecarlson1201 / Find Average
Created August 26, 2018 10:31
Arrays and Loops Drills
function average(numbers) {
function getSum(total, num){
return (total + num)
}
return (numbers.reduce(getSum))/numbers.length
}
/* From here down, you are not expected to
understand.... for now :)