SkyLined information 60 glöps
- general:
- level: user
- personal:
- first name: Berend-Jan
- last name: Wever
- 1k JavaScript poptartcat by SkyLined [web]
- If you're interested in the code, I suggest you read my blog post about it, view the uncompressed demo and/or the uncompressed source. I assure you this has nothing to do with heap-spraying.
- isokadded on the 2011-05-10 11:01:19
- 1k JavaScript poptartcat by SkyLined [web]
- online version and blog post with details.
- isokadded on the 2011-05-05 13:25:01
- 4k JavaScript 4k-synth
- music++, code++, compressor+++, documentation++++
- rulezadded on the 2011-05-04 21:13:03
- 1k Windows jules by St. Vincent And The Grenadines [web]
- Nice gfx
- rulezadded on the 2010-12-29 10:26:23
- demotool Windows JsSfx3.2 by SkyLined [web]
- JavaScript compressor for small demos.
blog post
project homepage - rulezadded on the 2010-12-09 22:09:21
- 1k JavaScript Perlin noise flames by SkyLined [web]
- @p01: thanks, I had a look at @cowboy's packer and it appears that my most recent version of JsSfx achieves a slightly better compression for wolf1k (994 bytes). However, I can't get the uncompressed version of wolf1k from your post mortem to run ("t" is not defined), so I can't make sure the code still works after compression. Do you have a working, uncompressed version of wolf1k somewhere that I can test with?
- isokadded on the 2010-11-29 13:23:25
- 1k JavaScript Perlin noise flames by SkyLined [web]
- @hArDy./tRSi: Thanks, I fixed that and updated the script. It now works in FF and Opera as well as Chrome (IE9 not so much). I had to tweak some things a bit to get it down to under 1k again. From what I can tell it looks like your packer does a better job than mine? I'd like to have a look at it if it's public! I'm working on some new compression ideas atm, so I do with some extra inspiration :).
@p01: I can't seem to find out where I can upload a .zip for this on pouet.net. I must admit the pouet.net site layout is beyond me most of the time, so I'm probably missing something obvious... any hints? - rulezadded on the 2010-11-28 23:30:17
- 1k JavaScript Perlin noise flames by SkyLined [web]
- This only works with Chrome.
- isokadded on the 2010-11-27 10:48:49
- 1k JavaScript Perlin noise flames by SkyLined [web]
- Doh! JsSfx
- isokadded on the 2010-11-27 10:41:44
- 1k JavaScript Perlin noise flames by SkyLined [web]
- Generates a pool of randomness, which is used to create one dimentional perlin noise arrays that change fluidly over time. Two perlin noise arrays are used; one as a distortion map, the other as a color map. The size and range of noise of the color map is used to create the look of flames and the size and range of the distortion map is used to make the flames move like flames.
The same data is used for flames and smoke, with different color palettes. Two hidden canvasses are used to create the flames and smoke individually, which are combined into a third, visible canvas.
Original code size ~10k (with comments and useful variables names).
Code size after comment & whitespace removal, variable renaming and various size reduction tricks: ~1.2k.
Code size after [ulr=http://code.google.com/p/jssfx/]JsSfx[/url] compress: 992 bytes (this is the JavaScript only and excludes the HTML tags in the final prod). - isokadded on the 2010-11-27 10:40:50
account created on the 2007-04-18 00:01:11