pouët.net

gl1k Cotton Candy by ribbon [web]
[nfo]
screenshot added by wullon on 2011-07-03 06:23:25
platform :
type :
release date : july 2011
release party : DemoJS 2011
compo : javascript 1k
ranked : 3rd
  • rulez 15
  • is ok 4
  • sucks 0
popularity : 0%
 0%
  • rulez 0.79
alltime top: #6931
added on the 2011-07-03 06:23:25 by wullon wullon

popularity helper

increase the popularity of this prod by spreading this URL:

or via: facebook twitter google+ pinterest tumblr

comments

Nice quaternion
rulez added on the 2011-07-03 10:28:23 by BackSpace BackSpace
First stab at webGL, in 1k:

It's glitchy and can be optimized a lot more but I quite like this puppy.
added on the 2011-07-03 11:24:12 by p01 p01
Bravo!
rulez added on the 2011-07-03 11:37:04 by ulrick ulrick
YES!
But why so low-res?
rulez added on the 2011-07-03 14:09:16 by chudik chudik
cool!
rulez added on the 2011-07-03 14:20:29 by wullon wullon
I like so much this quaternion
C'est beau
rulez added on the 2011-07-03 22:11:18 by jeffrey jeffrey
Didn't work here.
added on the 2011-07-03 23:08:59 by Optimus Optimus
Really a good optimisation, and nice attempt!
rulez added on the 2011-07-03 23:41:47 by sim sim
Really nice
rulez added on the 2011-07-04 02:36:07 by Danguafer Danguafer
poi²=rulez²
rulez added on the 2011-07-04 09:43:52 by rez rez
Can you make a version with better res please :D
rulez added on the 2011-07-04 10:01:09 by Romain337 Romain337
Stand alone online version 961 bytes

Thanks for the feedback guys!
added on the 2011-07-06 00:29:40 by p01 p01
(s)low res but nice colors.
added on the 2011-07-06 09:22:36 by pommak pommak
Nice
rulez added on the 2011-07-06 09:25:27 by krusty krusty
not working here - don't know why.
Tested with chrome 12.0.742.112 and FF5.0
In Chrome the screen just switches colors (red, yellow,black,white,green,blue) in FF everything just freezes. Tried the onliner&offline version :/
(other webgl tests work)
added on the 2011-07-06 09:41:24 by anni anni
It works for me on my under powered Asus EEE on Win7 in Chrome Canary and Opera w. webGL.

However Firefox Aurora takes forever to compile the shader before the driver shuts down and the browser renders moving glitches. Other simple webGL tests work. Must be the shader compiler trying to be smart.
added on the 2011-07-06 10:00:31 by p01 p01
Same as anni. Might be an angle HLSL problem. Runs in FF with native-gl enabled.
rulez added on the 2011-07-08 13:48:09 by las las
Cute puppy :)
rulez added on the 2011-07-08 14:22:27 by ferris ferris
I tried to get it work with chrome and angle, result:
Chome using Angle 1, Las 0.

It seems loop/break handling is completely screwed up and 100% unusable.
In addition to that - why don't you initialize z?
Code:float y=1.,z,k=dot(d,d);

and later you only do:
Code: z+=y;\ if(z>6.)break;\

I guess you want to zero z first :)

Anyways - nice work.
added on the 2011-07-08 15:26:55 by las las
.
rulez added on the 2011-07-08 15:43:21 by Defiance Defiance
las: In both Chrome and Opera, the variable Z appears to be zero by default thus saving 3 bytes.

Btw, I now have got this puppy under 940 bytes now but need to fix some compat issues.
added on the 2011-07-08 18:14:11 by p01 p01
936 bytes.

Tested in Chrome Canary , Firefox Aurora w. native openGL and Opera Next w. webGL.
added on the 2011-07-09 22:52:15 by p01 p01
added on the 2011-08-01 00:39:08 by p01 p01
Neat. Next stop: WebCL port. ;)
rulez added on the 2011-08-01 10:20:02 by tomaes tomaes
I've had enough 1k in names.
rulez added on the 2013-02-26 20:58:17 by Pirx Pirx

submit changes

if this prod is a fake, some info is false or the download link is broken,

do not post about it in the comments, it will get lost.

instead, click here !

[previous edits]

add a comment