View logo.css
.logo { | |
color: #333; | |
height: 100px; | |
width: 100px; | |
font-size: 100px; | |
line-height: 100px; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
position: relative; |
View octaves.html
<style type="text/css"> | |
canvas.perlin, img { | |
max-width: 100%; | |
width: auto; | |
display: block; | |
margin: auto; | |
} | |
canvas.plasma { | |
height: 200px; | |
} |
View post.html
<style type="text/css"> | |
canvas.perlin { | |
display: block; | |
margin: auto; | |
} | |
canvas.plasma { | |
height: 200px; | |
} | |
</style> |
View generate.js
var expect = require('chai').expect; | |
var _ = require('lodash'); | |
var fs = require('fs'); | |
// This generates a set of unique dominoes up to a double-n (dn) | |
function generate_set(dn) { | |
var set = []; | |
for (i = 0; i <= dn; i++) { | |
for (j = i; j <= dn; j++) { |
View filters.go
package main | |
import ( | |
"fmt" | |
"math/rand" | |
) | |
type DataSource interface { | |
Next() Element | |
} |
View filters.go
package main | |
import ( | |
"fmt" | |
"math/rand" | |
) | |
type DataSource interface { | |
Next() Element | |
} |