SArpnt / bytebeat-composer

Bytebeat player with playlist that contains many interesting formulas from the Internet.
https://sarpnt.github.io/bytebeat-composer/
MIT License
13 stars 1 forks source link

Properly standardize edge cases for outputs #9

Open SArpnt opened 2 years ago

SArpnt commented 2 years ago

in bytebeat, Infinity and -Infinity doesn't make sense, and currently aren't handled properly NaN is somewhat better but I don't think it's currently handled correctly.

funcValue also isn't converted to a number at the time it should be, so values that convert to other values get sent to the draw buffer multiple times when it's unneccecary.

SArpnt commented 2 years ago

funcValue is now converted to a number at a reasonable time