Skip to content

Instantly share code, notes, and snippets.

View w8r's full-sized avatar
💭
learning

Alexander Milevski w8r

💭
learning
View GitHub Profile
@w8r
w8r / .block
Created September 26, 2017 12:11 — forked from mbostock/.block
Collision Detection
license: gpl-3.0
@w8r
w8r / bresenham.c
Created January 10, 2018 10:02 — forked from lyjia/bresenham.c
bresenham.c
/********************************************************************
* *
* Curve Rasterizing Algorithm *
* *
********************************************************************/
/**
* @author Zingl Alois
* @date 22.08.2016
* @version 1.2
@w8r
w8r / .gitignore
Created January 10, 2018 10:20
OpenLayers, Rollup, and Closure Compiler
/node_modules/
bundle.js
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@w8r
w8r / Bunny.js
Created July 30, 2019 09:19 — forked from bberak/Bunny.js
How to use regl in React or React Native
import React, { PureComponent } from "react";
import { StyleSheet } from "react-native";
import ReglView from "./ReglView";
import mat4 from "gl-mat4";
import bunny from "bunny";
export default class Bunny extends PureComponent {
drawCommand = regl => {
return regl({
vert: `
@w8r
w8r / README.md
Created December 14, 2019 22:19 — forked from vprtwn/README.md
Force Editor + Pan/Zoom

Drag from an existing node to add a new node or link. Click to select/deselect nodes/links. Hit the DELETE key to remove the selected node or link. Drag to pan. Scroll to zoom.

Built with D3.js.