- Site: louis-andre.net
- Courriel: [email protected]
- @lalabadie sur Twitter et Instagram
- Lillian F. Schwartz: lillian.com / Son compte Vimeo
- Vera Molnar: veramolnar.com
- Jared Tarbell: complexification.net / levitated.guru
import { run, styled } from "uebersicht"; | |
const refreshFrequency = 500; | |
const size = 80; | |
const Sep = "⎖"; // Ideally, this is never a character in a song title! | |
const command = async (dispatch) => { | |
refresh(dispatch); | |
}; |
import canvasSketch from "canvas-sketch"; | |
import createShader from "canvas-sketch-util/shader"; | |
import glsl from "glslify"; | |
// Note that you need to install `glslify` and `canvas-sketch-util` | |
// separately from `canvas-sketch` | |
// Configuration | |
const width = 8, | |
height = 6, |
struct Vehicle { | |
// Here are four struct properties: Three are | |
// required when I initialize an instance, and | |
// the fourth is computed | |
var name: String | |
let consumptionInLper100km: Float | |
let fuelCapacityInL: Float | |
var autonomy: Float { | |
return fuelCapacityInL * (100/consumptionInLper100km); | |
} |
// Utilities | |
const distance = (x1, y1, x2, y2) => | |
Math.sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1)); | |
// The quadtree | |
export default class QuadTree { | |
constructor(x, y, width, height, capacity = 4) { | |
this.x = x; |
class LinkedList { | |
constructor(initialElement) { | |
this.length = 1; | |
this.head = initialElement; | |
this.head.next = this.head; | |
this.head.prev = this.head; | |
} | |
// Just to be nice. | |
value() { |
I am attesting that this GitHub handle l-a is linked to the Tezos account tz1ZvTGYH5EBwgmaYngELeUw1qzgQRJLKoDM for tzprofiles | |
sig:edsigu2maSpWYAcvoticw3aCQGPuNpQbXRpBgt3pd2iqW4jTTcKKMCnWSDicA76FhnAESFmxxz1RqvJ4E3aUxWK3pYnEVNNv9ZR |
/* | |
Arguments: | |
Points is an ordered array of polygon points, each as an object with {x,y} | |
Hatching angle is in radians | |
Spacing is the space between each hatching line | |
Returns an array of lines objects in the shape [{start: {x,y}, end: {x,y}}] | |
*/ |
I am attesting that this GitHub handle l-a is linked to the Tezos account tz1TXPoPrWjn4PSbXe6L66Kqo9NVCWiEw17Q for tzprofiles
sig:edsigu1NfTcRc1HZxjkD7iCFyFvsXWCVm1tfHdg85M59iswuUCiajZKSnqmZ84b63V5eGWM53WuiEgdD8WpkoFxsNmnMhxAFjMT