Skip to content

Instantly share code, notes, and snippets.

@ericdlaspe
ericdlaspe / arc_experiment_tumbleweed_fail.js
Last active November 22, 2021 03:51
Arc experiment gone wrong produced an interesting tumbleweed
function twoPointArc(x1, y1, x2, y2, radius, weight, direction) {
p5.push()
// p5.angleMode(p5.RADIANS)
let x = x1
let y = y1
// ab is the midpoint between the two input points
const ab = p5.createVector((x1 + x2) / 2, (y1 + y2) / 2)
// circle(ab.x, ab.y, 9)
@ericdlaspe
ericdlaspe / keybase.md
Created September 5, 2021 01:29
keybase.md

Keybase proof

I hereby claim:

  • I am ericdlaspe on github.
  • I am ericdlaspe (https://keybase.io/ericdlaspe) on keybase.
  • I have a public key ASBWWa5tAW2VKP0nKhsABxPQEYuIqSTWRHSh_cwSaA5mgQo

To claim this, I am signing this object:

@ericdlaspe
ericdlaspe / boxcar_push.py
Last active August 29, 2015 14:08
An Python 3 script demonstrating how to send a Boxcar push notification
#!/usr/bin/env python3
import http.client
import ssl
import urllib.parse
def boxcarpush():
# Prepare the notification parameters
params = urllib.parse.urlencode({