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 |
/** | |
* ================== angular-ios9-uiwebview.patch.js v1.1.1 ================== | |
* | |
* This patch works around iOS9 UIWebView regression that causes infinite digest | |
* errors in Angular. | |
* | |
* The patch can be applied to Angular 1.2.0 – 1.4.5. Newer versions of Angular | |
* have the workaround baked in. | |
* | |
* To apply this patch load/bundle this file with your application and add a |
/* Kinda like Python's defaultdict, but for JS*/ | |
function defDict(type) { | |
var dict = {}; | |
return { | |
get: function (key) { | |
if (!dict[key]) { | |
dict[key] = type.constructor(); | |
} | |
return dict[key]; |
''' | |
A script for analyzing twitter stats on Ferguson | |
''' | |
import json | |
import re | |
import tweepy | |
def get_api(): | |
''' |
license: mit |
require(MASS) | |
require(ggplot2) | |
require(scales) | |
require(gridExtra) | |
pca <- prcomp(iris[,-5], | |
center = TRUE, | |
scale. = TRUE) | |
prop.pca = pca$sdev^2/sum(pca$sdev^2) |
/** | |
* Author: Felipe Ferreri Tonello <eu@felipetonello.com> | |
* | |
* This url-shortner it only works with ASCII characters. It encodes and | |
* decodes ids. | |
* You can change base_x as you wish. | |
* | |
* It runs at least 20 times faster then a Python implementation. | |
* | |
* $ time python url-shortner.py -s I7 |
This Gist has been moved to https://github.com/lbgists/audio-spectrum-matplotlib.
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# vim: filetype=pyopencl.python | |
import sys | |
import time | |
from PyQt4 import QtCore | |
from PyQt4 import QtGui | |
import pyopencl as cl | |
import numpy |
library(shiny) | |
library(ggplot2) | |
function(input, output) { | |
dataset <- reactive({ | |
diamonds[sample(nrow(diamonds), input$sampleSize),] | |
}) | |
output$plot <- renderPlot({ |