whak information 13 glöps
- general:
- level: user
- personal:
- first name: Dave
- last name: Brown
- demotool JavaScript 1KB JavaScript Packer
- http://www.scriptcompress.com/extreme.htm will beat jscrush sometimes, but works best on small JavaScript scripts around 1KB to 2KB (the app is bigger than 32KB so I will have to submit this version to a different category). Scripts larger than 2KB will not compute. This will definitely beat Dean Edwards Packer, Microsoft Ajax Minifier, Yahoo YUI Compressor & Google Closure Compiler (almost any tools on the net).
Just remember, it's not made for big scripts, it's too aggressive. - isokadded on the 2014-11-25 05:41:28
- demotool JavaScript 1KB JavaScript Packer
- psenough, It easily beats the most well known packer on the internet; http://dean.edwards.name/packer/ and that was my intention when I started making it...
Some comparisons of the 2 on http://www.scriptcompress.com/WHAK-PAK.htm - isokadded on the 2014-11-22 17:09:57
- 32k JavaScript Real MP3 Piano, Realistic Fun
- True, but this I made for my son's birthday card. They are actual recordings from him playing his piano. The actual beginning wav files (about 50MB) sounded much better, but after ripping them down to less than 1KB (heck, even software I have makes blank MP3 almost 2KB), they do not sound as good. Unfortunately there was no area to submit the 20MB full HD quality version, so you get stuck with the mangled version...
Plus, I wanted a script that uses real MP3, as I plan on making packs so you can load various organs, samples, sound effects (that can be easily downloaded in MP3 anywhere), instruments, etc. I want real, not synthetic, this makes demo scene sizing much more difficult as most people rely on 3D and other engines for scripting and doing the work which to me, sounds synthesized...
To me, these sound better than fake computer generated piano tones. - isokadded on the 2014-11-22 02:55:06
- 32k JavaScript Real MP3 Piano, Realistic Fun
- 48 real MP3 files are embedded inside this SVG image and all packed in a 24KB file! Play the piano with Keyboard or mouse (or touchscreen).
- rulezadded on the 2014-11-21 22:25:50
- 64k JavaScript 48KB Realistic Piano In A SVG Image
- Can't get much more realistic than this, it uses real recorded sounds from a real piano. 48 mp3 files are embedded in the file and preload themselves so they are ready to go at any time.
There are a few other applets in the piano for making noizes and sound effects. They are found in the buttons at the bottom, the first one is my favorite, glitch beat maker... - isokadded on the 2014-11-21 22:17:20
- demotool JavaScript 1KB JavaScript Packer
- Thanks psenough. I made a better version on http://www.scriptcompress.com/JavaScript-Packer.svgz, but it's 38KB as I modded a parser that used Jquery (100KB JQuery file) and was 200+KB, but I rewrote it to not use Jquery (there goes 100KB addon no longer needed) and then packed (using scriptcompress.com) it to Bzip, embedded to a SVG and then Gzipped it, renamed to *.svgz to make it self extracting client side web app (it injects to an iframe). Now it's almost 10% of the size and includes my search/replace basic technique...
- isokadded on the 2014-11-20 21:55:52
- 64k JavaScript 48KB Realistic Piano In A SVG Image
- This tiny piano was much work. I started by ripping wav files from family videos of my son playing his piano. I converted them many times to find nice small sizes that could be embeded as base64 dataURLs/dataURI.
You can use keyboard to play or use mouse or touch screen.
JavaScript powers most of it.
Nice thing about SVG image files (neat hack), you can compress them with GZip, rename the file to *.SVGZ and share it, now it is client side self extracting and self running web html5 application - isokadded on the 2014-11-20 21:41:59
- demotool JavaScript 1KB JavaScript Packer
- tomaes: They all do similar things, they look for repetition to replace with a single character (usually single byte, but mine will go into 2 byte characters also). I just made one that does it less extreme (mine just looks for words and phrases, not punctuation and such) so it won't crash on bigger scripts (I find the Crush family crashes Chrome on scripts over 10KB, sometimes even over 2KB).
- isokadded on the 2014-11-15 00:23:53
- demotool JavaScript 1KB JavaScript Packer
- I only intended this to be a 1KB release, not to compete. I can only beat results of them 3 packers on my scriptcompress.com, but it's a 300KB app (built in error fixing, minifing, rewrites code, etc).
When I do the benchmarking I will focus on the bigger 10KB and up realm. My little packer doesn't go as nuts as those regPack, JS crush and First crush. They look for any strings repeated, mine only looks for actual letter combinations (words/phrases) after stripping out all the non alpha characters.
This script isn't the best for extremely minified 2KB or less JavaScript.
This tiny script will usually beat Dean Edwards packer - isokadded on the 2014-11-14 19:05:21
- demotool JavaScript 1KB JavaScript Packer
- What packers should I compare against? I will do the benchmarks.
If you mean JSCrush, & Crunch, then I will not be able to compete fairly until a bigger script. My script can pack an entire Holy Bible down (from 4MB to less than 3), those other packers would crash and burn (they crash my browser if I try even a 10KB script).
Some ways mine is better, more ways theirs are better on small scripts. This is just an alternative. - isokadded on the 2014-11-14 02:32:28
account created on the 2014-11-13 10:12:15