A Pen by Kyle Wendling on CodePen.
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
/* | |
* A fast javascript implementation of simplex noise by Jonas Wagner | |
Based on a speed-improved simplex noise algorithm for 2D, 3D and 4D in Java. | |
Which is based on example code by Stefan Gustavson ([email protected]). | |
With Optimisations by Peter Eastman ([email protected]). | |
Better rank ordering method by Stefan Gustavson in 2012. | |
Copyright (c) 2018 Jonas Wagner |
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
//uses D3.js v7 https://d3js.org/d3.v7.min.js | |
//uses https://cdn.rawgit.com/jwagner/simplex-noise.js/master/simplex-noise.js | |
let time = 0; | |
const noise = new SimplexNoise(); | |
const seed = 200 + 100 * Math.random(); | |
let chart = {}; | |
chart.make = function (set) { |
This file has been truncated, but you can view the full file.
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
// ZIM Cat - Interactive Media Framework at https://zimjs.com - code creativity! | |
// Also see https://zimjs.com/distill to minify only the functions in your app | |
// (c) 2021 ZIM - free to use - donations welcome of course! https://zimjs.com/donate | |
// With thanks... | |
// Thanks to ZzFX - Zuper Zmall Zound Zynth - Micro Edition for play() method of Synth | |
// MIT License - Copyright 2019 Frank Force - https://github.com/KilledByAPixel/ZzFX | |
// Thanks to Josh Forisha - https://github.com/joshforisha for open-simplex-noise-js | |
// ZIM converted Noise() from https://www.npmjs.com/package/open-simplex-noise | |
// Thanks to Frank Los for coding the ZIM Keyboard() |
A quick demo using Terra.
A Pen by Kyle Wendling on CodePen.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Project Eulertitle</title> | |
</head> | |
<body> | |
<button onclick="euler_one()">Try Euler One</button> |