Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<meta name="apple-mobile-web-app-capable" content="yes"/>
</head>
<body>
<script src="https://ipepe.github.io/show-touches-js/show-touches.js"></script>
</body>
</html>

Keybase proof

I hereby claim:

  • I am thatpixguy on github.
  • I am pix (https://keybase.io/pix) on keybase.
  • I have a public key ASCM0vDrj2Tud99W1Y4gukOHTa4WXRJmwwvO--yp1zekzAo

To claim this, I am signing this object:

I hereby claim:

  • I am thatpixguy on github.
  • I am pix (https://keybase.io/pix) on keybase.
  • I have a public key whose fingerprint is D8EC 9D48 F567 187F B90F 1345 B411 35EF 5057 204F

To claim this, I am signing this object:

{
@thatpixguy
thatpixguy / minimal hsv to rgb
Created September 17, 2013 11:23
I'm sure I've done this before, so here is some minimal code to generate a HSV colour swatch (in Processing as an example).
void setup() {
size(256,256);
colorMode(RGB,1.0);
for(int x=0;x<width;x++) {
float h = (float)x/width;
float v = 1;
for(int y=0;y<width;y++) {