Skip to content

Instantly share code, notes, and snippets.

@codetrail
codetrail / index.html
Created August 22, 2012 15:02 — forked from desandro/index.html
A web page created at CodePen.io.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Google WebFont Loader test &middot; CodePen</title>
<!--
Copyright (c) 2012 David DeSandro, http://codepen.io/desandro
Permission is hereby granted, free of charge, to any person obtaining
@codetrail
codetrail / halftone.pde
Created August 22, 2012 14:57
Halftone
PGraphics flatImg;
PImage img;
float rt3 = sqrt(3);
float res = 10; /* resolution */
float radius = 2.1 * res / rt3;
float zoom = 1.0;
void setup() {
noLoop();
smooth();