Skip to content

Instantly share code, notes, and snippets.

View liamegan's full-sized avatar
💭
┬─┬ノ(ಠ_ಠノ)

Liam Egan liamegan

💭
┬─┬ノ(ಠ_ಠノ)
View GitHub Profile
@liamegan
liamegan / sketch.js
Created June 7, 2022 01:20
For Christa
function setup() {
createCanvas(windowWidth, windowHeight);
randomSeed(fxrand() * 999999);
noiseSeed(fxrand() * 999999);
noStroke();
fill(0);
ellipse(11, 145, 35, 35);
@liamegan
liamegan / value-noise-with-lut.frag
Created November 10, 2022 15:30
GLSL value noise with
uniform sampler2D s_noise;
float pn( in vec3 p ) {
vec3 i = floor(p); p -= i; p *= p*(3. - 2.*p);
p.xy = texture(s_noise, (p.xy + i.xy + vec2(37, 17)*i.z + .5)/256., -100.).yx;
return mix(p.x, p.y, p.z);
}
float hash(float h) {
return pn(vec3(h, -h, h + 134.23453));
@liamegan
liamegan / Pappardelle al Cinghiale Recipe
Created December 4, 2024 17:09
A recipe for Pappardelle al Cinghiale Recipe
## Pappardelle al Cinghiale Recipe
Here is the recipe for Pappardelle al Cinghiale, extracted from the provided source:
### Ingredients
**For the Marinade:**
* 500 ml (2 cups + 2 tbsp) red wine, preferably Chianti
* 1 carrot