by tripzilch · 1mo ago · 0 comments
while I agree with your general point, since you're asking, the table from Paul Bourke's marching cubes code comes to mind:
https://paulbourke.net/geometry/polygonise/
another one is the "fast hash" GLSL pseudo random number generator that everyone copies from Inigo Quilez:
float rand(vec2 co){
return fract(sin(dot(co, vec2(12.9898, 78.233))) * 43758.5453);
}
despite those constants clearly being the result of some keyboard-bashing, they are copied far and wide :-)No comments yet.