Skip to content

Instantly share code, notes, and snippets.

Sacha Saint-Leger yslcrypto

Block or report user

Report or block yslcrypto

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
View keybase.md

Keybase proof

I hereby claim:

  • I am hackingclimate on github.
  • I am sysl (https://keybase.io/sysl) on keybase.
  • I have a public key ASAweLarrVceF681QkSIb3ElmVqxbjG-MS8E2LJ7S2y10wo

To claim this, I am signing this object:

@yslcrypto
yslcrypto / d3.layout.cloud.js
Last active Aug 29, 2015
Shakespeare Word Cloud
View d3.layout.cloud.js
// Word cloud layout by Jason Davies, http://www.jasondavies.com/word-cloud/
// Algorithm due to Jonathan Feinberg, http://static.mrfeinberg.com/bv_ch03.pdf
(function(exports) {
function cloud() {
var size = [256, 256],
text = cloudText,
font = cloudFont,
fontSize = cloudFontSize,
rotate = cloudRotate,
padding = cloudPadding,
You can’t perform that action at this time.