From 55b320d827836acee4110d56b6268d85d14f22f4 Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Fri, 12 Jul 2024 03:01:58 +0300 Subject: [PATCH] bytebeat-render.js: define inverse trigonometric functions --- js-programming/bytebeat-render.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/js-programming/bytebeat-render.js b/js-programming/bytebeat-render.js index 2e24d54..c467399 100644 --- a/js-programming/bytebeat-render.js +++ b/js-programming/bytebeat-render.js @@ -42,6 +42,12 @@ const SELECTED_TYPE = TYPE_BYTEBEAT // feel free to change this // for bytebeat const int = x => Math.floor(x) const abs = Math.abs +const acos = Math.acos +const acosh = Math.acosh +const asin = Math.asin +const asinh = Math.asinh +const atan = Math.atan +const atanh = Math.atanh const cbrt = Math.cbrt const cos = Math.cos const cosh = Math.cosh