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 |
Host gpu1 | |
HostName gpu-server-1.cds.engineering.cornell.edu | |
User ryan | |
Host gpu1 master slave-1 slave-2 slave-3 | |
User hduser1 | |
ForwardAgent yes | |
ForwardX11 yes | |
ForwardX11Trusted yes |
""" | |
Configuration for ``ptpython``. | |
Copy this file to ~/.ptpython/config.py | |
""" | |
from __future__ import unicode_literals | |
from ptpython.layout import CompletionVisualisation | |
__all__ = ( |
import battlecode as bc | |
import random | |
import sys | |
import traceback | |
print("pystarting") | |
# A GameController is the main type that you talk to the game with. | |
# Its constructor will connect to a running game. | |
gc = bc.GameController() |
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 |
# ... more above ... | |
# wsfl bash is not a login shell | |
if [ -d "$HOME/bin" ] ; then | |
PATH="$HOME/bin:$PATH" | |
fi | |
# ssh-agent configuration | |
if [ -z "$(pgrep ssh-agent)" ]; then | |
rm -rf /tmp/ssh-* |
py_binary( | |
name = 'generate_compile_command', | |
srcs = [ | |
'generate_compile_command.py', | |
], | |
deps = [ | |
'//third_party/bazel:extra_actions_proto_py', | |
], | |
) |
from math import sqrt | |
def put_kernels_on_grid (kernel, pad = 1): | |
'''Visualize conv. filters as an image (mostly for the 1st layer). | |
Arranges filters into a grid, with some paddings between adjacent filters. | |
Args: | |
kernel: tensor of shape [Y, X, NumChannels, NumKernels] | |
pad: number of black pixels around each filter (between them) |
package main | |
import ( | |
"net/http" | |
"log" | |
) | |
func redirect(w http.ResponseWriter, req *http.Request) { | |
// remove/add not default ports from req.Host | |
target := "https://" + req.Host + req.URL.Path | |
if len(req.URL.RawQuery) > 0 { |
#include <iostream> | |
#include <fstream> | |
// Windows specific: Uncomment the following line to open a console window for debug output | |
#if _DEBUG | |
#pragma comment(linker, "/subsystem:\"console\" /entry:\"WinMainCRTStartup\"") | |
#endif | |
// Simple OpenGL GLM/SDL demo | |
// Renders a rotating pyramid, showing 3 of 4 sides (allowing back faces to be seen) |