Created
August 12, 2016 14:42
-
-
Save octagonal/fc9aca30bd87e26ef5984b8e5ce1dca6 to your computer and use it in GitHub Desktop.
j a v a s c r i p t
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
for(var e = 0; e < 10; e++){ | |
for(var i = Math.floor((Math.PI / 2) * 100); i < Math.floor((Math.PI ) * 1000); i += Math.floor((Math.PI / 2) * 100) ){ | |
var chars = ""; | |
//console.log(i/1000); | |
for(var y = Math.floor(Math.sin(i/1000) * 100); y > 0; y--){ | |
chars += "vaporwave".split("")[((100 - y) % "vaporwave".split("").length) % "vaporwave".split("").length]; | |
} | |
console.log(chars); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment