Skip to content

Instantly share code, notes, and snippets.

@nnirror
Created January 2, 2024 17:52
Show Gist options
  • Save nnirror/b859776fff98521f741013ce2ae76ba4 to your computer and use it in GitHub Desktop.
Save nnirror/b859776fff98521f741013ce2ae76ba4 to your computer and use it in GitHub Desktop.
genuary 4
$('gen4')
.iter(12, () => {
this.append(_.noise(2048)
.scale(0.5, 1)
.saheach(Math.pow(2, i))
.dup(Math.pow(2, i) - 1))
})
.saveimg('gen4' + rf(), [_.iter(12, () => {
this.append(_.noise(2048)
.scale(0.5, 1)
.saheach(Math.pow(2, i))
.dup(Math.pow(2, i) - 1))
}), _.iter(12, () => {
this.append(_.noise(2048)
.scale(0.5, 1)
.saheach(Math.pow(2, i))
.dup(Math.pow(2, i) - 1))
}), _.iter(12, () => {
this.append(_.noise(2048)
.scale(0.5, 1)
.saheach(Math.pow(2, i))
.dup(Math.pow(2, i) - 1))
})], 2048, 2048)
.once();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment