STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228080
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2560 · P5120

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/96661084?noj=FRM96661084-1DN" width="1" height="1"></div>

This is the wiki page for Flash #167208
Visit the flash's index page for basic data and a list of seen names.


falling_snow.swf
1,47 MiB, 00:00 | [W] [I]

Threads (1):

[QIWNVAF]F ! http://boards.4chan.org/f/thread/2688764
ARCHIVEDDiscovered: 14/2 -2015 16:59:58 Ended: 14/2 -2015 21:29:18Flashes: 1 Posts: 15
File: falling_snow.swf-(1.46 MB, 1280x720, Loop)
[_] Cold OC warm your CPU. Rubber NAND 2688764 I made this instead of sleeping last night. Mouseover to repel particles. Right click to add or remove particles. Marked for deletion (old).
>> [_] Anon 2688776 >># That's pretty neat
>> [_] Anon 2688817 >$6 n-nevermind;
>> [_] Anon 2688821 >># you made the right choice op
>> [_] Anon 2688830 songsource pls
>> [_] Rubber NAND 2688861 >># Right click, bandcamp. Source is flash name.
>> [_] Anon 2688885 how come an swf can eat up so much cpu?
>> [_] Rubber NAND 2688892 >># No multithreading.
>> [_] Anon 2688894 Cool, I made something like this with javascript and canvas a week ago... what are you doing to the snowflake as soon as it leaves the stage? Do you remove the object and create a new snowflake or just move the yposition of the snowflake to 0?
>> [_] Rubber NAND 2688900 >># I move ypos to 0, and then randomize xpos to keep an even distribution. I leave velocity alone, but they don't vary that much anyway.
>> [_] Anon 2688908 >># ActionScript and CPU rendering. IIRC, Flash still does rendering on the CPU, at least for older versions of Flash (this is a Flash 9 file -- Flash 10 might be able to do hardware rendering). So you have a couple thousand little partially transparent dots getting composited with the CPU every frame. That's slow. Plus you have some sort of ActionScript calculating the positions, so you've got CPU load there, too. And that load could be worse if it wasn't written to minimize memory allocations. And what Rubber NAND said, it's all done on a single CPU thread.
>> [_] Anon 2688911 The swf is lagging hard but the task manager only shows a 20% cpu usage. (on the 4th difficulty) I guess chrome or the flash engine isn't that great
>> [_] Anon 2688913 >># That's single threading. You have multiple CPU cores, but Flash can only use one.
>> [_] Anon 2688919 >># I don't think Unity has this kind of problems
>> [_] Rubber NAND 2688930 >># It shouldn't stray out of cache, but I don't really have a good way to test that. Physics calculation is the major load, and apparently pixelbender could help it offload some of the math to another thread, but I have to learn how to implement it.



http://swfchan.net/34/167208.shtml
Created: 14/2 -2015 17:01:36 Last modified: 18/10 -2018 14:33:10 Server time: 01/05 -2024 22:27:31