I hereby claim:
- I am fredrikmeyer on github.
- I am fredrikmeyer (https://keybase.io/fredrikmeyer) on keybase.
- I have a public key ASD8IDTfGbtqhFqJZXcs_iDt3ftUw0L2wJoCxEwGzfucGAo
To claim this, I am signing this object:
| package net.fredrikmeyer.minimal; | |
| import static java.lang.Math.sqrt; | |
| import static org.lwjgl.glfw.Callbacks.glfwFreeCallbacks; | |
| import static org.lwjgl.glfw.GLFW.GLFW_CONTEXT_VERSION_MAJOR; | |
| import static org.lwjgl.glfw.GLFW.GLFW_CONTEXT_VERSION_MINOR; | |
| import static org.lwjgl.glfw.GLFW.GLFW_FALSE; | |
| import static org.lwjgl.glfw.GLFW.GLFW_KEY_ESCAPE; | |
| import static org.lwjgl.glfw.GLFW.GLFW_OPENGL_CORE_PROFILE; | |
| import static org.lwjgl.glfw.GLFW.GLFW_OPENGL_FORWARD_COMPAT; |
| from random import random | |
| N = 100_000 | |
| def inside_circle(p): | |
| return p[0] ** 2 + p[1] ** 2 <= 1 | |
| def generate_point(): |
| digraph { | |
| node [ shape = record, height=.1]; | |
| node0[label = "<f0> lower |<f1> pt: [0.5 0.5] |<f2> higher"]; | |
| node1[label = "<f0> lower |<f1> pt: [0.6 0.3] |<f2> higher"]; | |
| node2[label = "<f0> lower |<f1> pt: [0.7 0.8] |<f2> higher"]; | |
| node3[label = "<f0> lower |<f1> pt: [0.4 0.8] |<f2> higher"]; | |
| node4[label = "<f0> lower |<f1> pt: [0.4 0.6] |<f2> higher"]; | |
| "node0":f2 -> "node1":f1; | |
| node1:f2 -> node2:f1; |
| import csv | |
| import requests | |
| import sys | |
| def GetMetrixNames(url): | |
| response = requests.get('{0}/api/v1/label/__name__/values'.format(url)) | |
| names = response.json()['data'] | |
| #Return metrix names | |
| return names |
I hereby claim:
To claim this, I am signing this object:
| (ns barnsley.core | |
| (:require [quil.core :as q] | |
| [quil.middleware :as m])) | |
| (def w 600) | |
| (def h 600) | |
| (defn setup [] | |
| (q/color-mode :hsb 100 100 100 100) | |
| {}) |
| (ns quil-drawings.bysykler | |
| (:require [quil.core :as q] | |
| [quil.middleware :as m] | |
| [incanter.distributions :as d] | |
| [clojure.data.json :as json])) | |
| (def w 1000) | |
| (def h 1000) | |
| float centerx; | |
| float centery; | |
| void setup() { | |
| size(900, 900); | |
| centerx = width/2; | |
| centery = height/2; | |
| } |
| let movers = []; | |
| let movingPoint; | |
| function setup() { | |
| createCanvas(1000, 1000); | |
| randomPoint = createVector(random(width), random(height)); | |
| for (var i = 0; i < 200; i++) { | |
| movers.push(new Mover()); | |
| } |
| \begin{eqnarray*} | |
| \label{eq:t1dims_triang} | |
| \dim_\C {T^1(S_{\P(\mathcal T)}/k, S_{\P(\mathcal T)})}_0 &= 90 \\ | |
| \dim_\C {T^2(S_{\P(\mathcal T)}/S_{\P(\mathcal T)})}_0 &= 306. | |
| \end{eqnarray*} |