Last active
March 25, 2024 20:44
-
-
Save deinernstjetzt/6d15937ce30e383f74e8f8a32f438eb2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
const p = n => x => Math.pow(x, n); | |
const v = [66, 39.71666667, -20.83611111, 21.33333333, -11.48611111, 2.45, -0.17777778]; | |
const b = v.reduce((acc, cur, idx) => x => p(idx)(x) * cur + acc(x), _ => 0); | |
const bm = Array(7).fill(0).map((_, i) => i).map(b).map(c => String.fromCodePoint(Math.round(c))); | |
const batman = bm.join(""); | |
console.log(batman); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment