Skip to content

Instantly share code, notes, and snippets.

@zarazum
zarazum / _.md
Last active March 29, 2017 16:11
RGB in Numbers

gistio

<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Homework 00</title>
<link href='http://fonts.googleapis.com/css?family=Press+Start+2P' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Noto+Serif:400,700italic&subset=latin,cyrillic' rel='stylesheet' type='text/css'>
<style id="jsbin-css">
body{
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Homework 00</title>
<link href='http://fonts.googleapis.com/css?family=Press+Start+2P' rel='stylesheet' type='text/css'>
<style id="jsbin-css">
body{
color: #fff;
font-family: 'Press Start 2P', cursive;
@zarazum
zarazum / index.html
Created December 7, 2014 22:36
Canvas Data Bang Making some numbers into pixels // source http://jsbin.com/sewonu
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Making some numbers into pixels" />
<meta charset="utf-8">
<title>Canvas Data Bang</title>
</head>
<body>
<canvas id='zcanvas' width=256 height=256></canvas>
<script id="jsbin-javascript">
@zarazum
zarazum / index.html
Created November 21, 2014 08:10
Bytebeat meets Canvas // source http://jsbin.com/neguwe
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Bytebeat meets Canvas" />
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<button id="play">Play</button>
<button id="stop">Stop</button>
@zarazum
zarazum / index.html
Last active August 29, 2015 14:06 — forked from mbostock/.block
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<style>
html,
body {
height: 100%;
margin: 0;
overflow: hidden;

Trying to put a binary file to gist

@zarazum
zarazum / subdivtriviz.py
Created September 4, 2014 08:09
subdivtriviz.py
from scene import *
from random import random
from math import sin, cos, pi
BOXFILL = Color(0.5,1,0.5,0.8)
class zScene (Scene):
def setup(self):
# This will be called before the first frame is drawn.
# Set up the root layer and one other layer:
@zarazum
zarazum / subdivtri.py
Created September 1, 2014 10:18
subdivtri.py
from scene import *
from random import random
from math import sin, cos, pi
class zScene (Scene):
def setup(self):
# This will be called before the first frame is drawn.
# Set up the root layer and one other layer:
self.root_layer = Layer(self.bounds)