View logo.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type="text/css"> | |
canvas.perlin, img { | |
max-width: 100%; | |
width: auto; | |
display: block; | |
margin: auto; | |
} | |
canvas.plasma { | |
height: 200px; | |
} |
View post.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type="text/css"> | |
canvas.perlin { | |
display: block; | |
margin: auto; | |
} | |
canvas.plasma { | |
height: 200px; | |
} | |
</style> |
View generate.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"math/rand" | |
) | |
type DataSource interface { | |
Next() Element | |
} |
View filters.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"math/rand" | |
) | |
type DataSource interface { | |
Next() Element | |
} |