-
We have absolutely no idea what we're doing in tech. Please explain the utmost basic things to us.
-
We only do web design. Our whole reason of being in tech is to make things pretty. Consider us the doilies of the industry.
-
We're not laughing about your joke, so we clearly need you explain it to us. In great detail.
-
We're only in tech to find a husband, boyfriend or generally to get laid.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
RGB to XYZ gamut-remapping matrix calculation. | |
Main function is rgb_to_xyz_matrix. | |
""" | |
class MatrixError(Exception): | |
pass | |
class NonInvertableMatrix(MatrixError): |
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
float rand(float n){return fract(sin(n) * 43758.5453123);}
float noise(float p){
float fl = floor(p);
float fc = fract(p);
Friends! Have you ever been developing, littered your code with console statements, and then realized you couldn't find what you were looking for? Have you ever wondered, "How can I make this console.log
statement stand out in a crowd?"
WONDER NO MORE!
You can provide a special %c
prefix to your logged string, and then all magical and printf-like, you can then provide some CSS to style up that line!
Here's a couple of examples that I was JUST using!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Game Boy Sound Operation | |
------------------------ | |
Shay Green (blargg) | |
[email protected] | |
http://www.slack.net/~ant/ | |
** This is an incomplete draft | |
This documents the behavior of Game Boy sound; details which aren't | |
relevant to the observable behavior have been omitted unless they |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
NewerOlder