File: 32823066470939937510582097494459230781640628620899862803482534211706798214808651.swf-(803 KB,
232x240, Loop)
[_] The better pi song swf Anonymous 08/18/18(Sat)22:41:25 No.3352857
Marked for deletion (old).
>> [_] Anonymous 08/19/18(Sun)00:38:59 No.3352868
>>3337581
>Listening to π song each time makes me wonder how come nobody created a flash with π song that
never loops. I mean, just sample each digit as it is sung in that song, and then procedurally
calculate next π digit each time playing the corresponding digit sample and voila you have a π
song flash that never loops.
If anyone is interested in creating this flash, I could write code to calculate nth π digit fast
enough.
But, actually, now that I thought of this... while that would be cool in a geeky way, it would
also be huge waste of CPU time. Better to just include pre-computed pi digits. 100kB of them are
enough to loop for hours. 5 MB of uncompressed pi digits would loop for a month or two.
>> [_] Anonymous 08/19/18(Sun)00:46:05 No.3352869
>>3352868
a month of numbers isn't INFINITE NUMBERS though, go big or go home
>> [_] Anonymous 08/19/18(Sun)00:50:38 No.3352870
>>3352857
good job anon, this is the better version.
>> [_] Anonymous 08/19/18(Sun)00:51:13 No.3352871
>>3352857
Fuck you. The original filename was great.
>> [_] Anonymous 08/19/18(Sun)01:27:49 No.3352880
>THE NUMBERS, MASON
>> [_] Anonymous 08/19/18(Sun)03:13:48 No.3352891
>>3352869
>INFINITE NUMBERS
Not gonna happen. It's impossible to write performant code for this, it's AS3 we're talking
about. A Bailey-Borwein-Plouffe spigot algorithm slows down to a crawl before you run out of few
million precomputed digits.
Including megabytes of precomputed digits is one thing, but being a lazy hack about it would be
funnier. Nobody cares about the digits after the first few anyways. Slightly golfed ES6 example:
>const getNthPiDigit = n => (''+Math.PI)[n+1]|0 || Math.random()*10|0;
Good enough. :^)
>> [_] Anonymous 08/19/18(Sun)03:48:07 No.3352898
>>3352880
>THE RUSSIANS
>> [_] Anonymous 08/19/18(Sun)06:06:15 No.3352903
>>3352880
WHERE IS THE BROADCAST STATION?
>> [_] Anonymous 08/19/18(Sun)13:31:34 No.3352959
>>3352868
I really like this idea. Too bad I have no experience in flash haha.
Precalculated digits of pi would be the way to go, in my opinion. You make a good point about the
slowdown in an algorithm.
I think the only issue would be if we wanted the same voice singing. We'd have to get just the
instrumental and somehow get the voice lines for each number separated from the background music.
>> [_] Anonymous 08/19/18(Sun)16:51:20 No.3353005
>>3352857
'Written' by Chris Hardwick. I mean of course you dont 'write' pi, but he's the one that did the
music and directed the singers.
>> [_] Anonymous 08/19/18(Sun)19:25:19 No.3353026
how is this a pi song when pi is 3.14 to start not 3.28?