Skip to content

Instantly share code, notes, and snippets.

View MatthewStanciu's full-sized avatar

Matthew Stanciu MatthewStanciu

View GitHub Profile
@kartva
kartva / optimizing-purdue-cs.md
Last active March 11, 2026 07:16
Optimizing Purdue CS
@patriciogonzalezvivo
patriciogonzalezvivo / GLSL-Noise.md
Last active April 5, 2026 14:04
GLSL Noise Algorithms

Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative

Generic 1,2,3 Noise

float rand(float n){return fract(sin(n) * 43758.5453123);}

float noise(float p){
	float fl = floor(p);
  float fc = fract(p);
@bradmontgomery
bradmontgomery / dummy-web-server.py
Last active November 12, 2025 14:52
a minimal http server in python. Responds to GET, HEAD, POST requests, but will fail on anything else.
#!/usr/bin/env python
"""
Very simple HTTP server in python (Updated for Python 3.7)
Usage:
./dummy-web-server.py -h
./dummy-web-server.py -l localhost -p 8000
Send a GET request: