Skip to content

Instantly share code, notes, and snippets.

Sam L'ecuyer samlecuyer

  • Yahoo
  • Los Angeles
Block or report user

Report or block samlecuyer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@samlecuyer
samlecuyer / logo.css
Created Aug 30, 2016
spirit reform logo
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;
}
@samlecuyer
samlecuyer / post.html
Last active Sep 20, 2016
perlin noise post 1
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 _tags
<*.{byte,native}>: g++, use_llvm, use_llvm_analysis
@samlecuyer
samlecuyer / filters.go
Created Jul 10, 2012
lazy iterables in go
View filters.go
package main
import (
"fmt"
"math/rand"
)
type DataSource interface {
Next() Element
}
@samlecuyer
samlecuyer / filters.go
Created Jul 10, 2012
lazy iterables in go
View filters.go
package main
import (
"fmt"
"math/rand"
)
type DataSource interface {
Next() Element
}
You can’t perform that action at this time.