PauloFalcao information 226 glöps
- general:
- level: user
- personal:
- first name: Paulo
- last name: Falcao
- portals:
- demozoo: profile
- cdcs:
- cdc #1: Second Reality by Future Crew
- demopack procedural graphics JavaScript Forth Shader Collection by SandS [web]
- GO! GO! GO! Impressive! :)
- rulezadded on the 2014-09-11 15:06:27
- demo Windows Mrs Escher's Nightmare by Andromeda Software Development [web]
- Awesome!
- rulezadded on the 2014-07-27 11:50:02
- 1k JavaScript 704.2
- Thank you all for your comments! :)
I notice that on Windows machines the floor was not properly rendered. That's fixed.
The Shadertoy version is also fixed
And here is a fixed glsl.heroku.com version.
Try it on recent mobile devices like the Nexus5, on landscape mode runs surprisingly well, which is awesome for a mobile device! :)
p01, Thanks about the invalid PNG info on Opera, and Canary. On Opera I can't run the demo, but on Canary (35.0.1905.2) on Win it's ok. Although I think the PNG compression is an extremely cool hack, I wish I would have accomplished this standalone version without using the PNG stuff, I think that's something not very future proof, it's very browser/version dependent ... :(
About the for in the shader setup I do not remember exactly the gain, but it was something like 7~15 chars, but I never had a very optimized version using the loop so the gain can be even less... - isokadded on the 2014-03-23 19:31:48
- 1k JavaScript 704.2
- For slower machines try http://glsl.heroku.com/e#15291.0
The shader is more optimized, and it's possible to run in a lower resolution. - isokadded on the 2014-03-21 11:05:27
- 1k JavaScript 704.2
- Thanks AMcBain! I will do that next time. :)
- isokadded on the 2014-03-20 23:03:17
- 1k JavaScript 704.2
- Again, sorry about the self-voting.
I just wanted to add a comment with info.
I would remove my vote if possible. - isokadded on the 2014-03-20 22:48:42
- 1k JavaScript 704.2
- This is the standalone 1k webgl version of my JS1k (2014-dragons) entry 704.2.
In 2011 I did a pure JS 1k demo with no webgl http://www.pouet.net/prod.php?which=56992. called 704.
This version is very similar but uses webgl and adds reflections, and some fake soft shadows.
There also is a ShaderToy version here: https://www.shadertoy.com/view/Xdj3Dt
To fit into 1k I had to remove some optimizations, so the JS1k version, and the standalone 1K version are slower than the ShaderToy version.
This was possible by standing on the shoulders of giants like:
Shader Minifier - http://www.pouet.net/prod.php?which=55176
jscrush - http://www.iteral.com/jscrush/ (JS1K version)
JsExe - http://www.pouet.net/prod.php?which=59298 (Standalone 1K version)
Google Closure Compiler - https://developers.google.com/closure/compiler/
It also uses several compression techniques for the JS code like using a big triangle instead of 2 triangles, function hash, etc. All these js compression techniques have been previously used on other great js demos like:
HBC-00012: Kornell Box - http://www.pouet.net/prod.php?which=61667
HBC-00013: Highway 4k - http://www.pouet.net/prod.php?which=61668
Hypersonic Mandelbulb - http://www.pouet.net/prod.php?which=61093
ANDES - http://www.pouet.net/prod.php?which=61637
More info: http://daeken.com/superpacking-js-demos
Also many bytes to fit in 1k were removed making the code more suitable to compression, e.g. There are no loops in this shader!
Done using linux btw :)
Works nice on my PC with Win/Linux/Firefox/Chrome, Mac with Firefox/Chrome, and my Nexus 5 ;) - rulezadded on the 2014-03-20 22:29:20
- 256b JavaScript TEA STORM by Ribbon [web]
- 4x smaller then my 704, impressive! :)
- isokadded on the 2013-09-20 00:48:40
- demo JavaScript Artsy (and slighty insane)
- Cool :)
- rulezadded on the 2013-06-20 02:10:12
- 1k JavaScript Hypersonic Mandelbulb by Ribbon [web]
- Very cool! :)
- rulezadded on the 2013-03-14 01:15:08
account created on the 2008-09-22 16:35:40
