Skip to content

Instantly share code, notes, and snippets.

View kylejlin's full-sized avatar

Kyle Lin kylejlin

  • Cupertino, California
  • 00:17 (UTC -07:00)
View GitHub Profile
@kylejlin
kylejlin / pixelator-logo.js
Last active July 13, 2016 22:02
A script to generate the logo for my pixelator.
/**
* Copyright (c) 2016 Kyle Lin
* This is the script for generating a logo for my pixelator (https://leeryank.github.io/pixelator).
* I decided not to use it, and chose the one at https://leeryank.github.io/pixelator/images/favicon.ico instead.
* The unpixelated version is at https://leeryank.github.io/pixelator/images/unpixelated-favicon.ico .
*/
(function(global, exportName, logoSize, bgColor, Pixelator, pixelSize) {
var canvas = document.createElement('canvas'),
ctx = canvas.getContext('2d'),