cwbe coordinatez:
809096
3220824
5338351

ABSOLUT
KYBERIA
permissions
you: r,
system: public
net: yes

neurons

stats|by_visit|by_K
source
tiamat
K|my_K|given_K
last
commanders
polls

total descendants::12
total children::5
10 ❤️


show[ 2 | 3] flat


dno0




00809096032208240533835105498010
_W1 22/7
 _W1 22/7      14.08.2010 - 18:51:07 [1K] , level: 1, UP   NEW
tak som sa rozhodol nakodit si vlastny mandarinkovnik ale ako raster cez canvas.
http://w1ponline.net/tmp/HTML5/htmltest.html
je nastavenych 7 iteracii, pri 15 iteraciach to vyzera takto:
http://w1ponline.net/tmp/HTML5/15iteracii.png (1.5 MB!! ..sorac, je to png)

0080909603220824053383510549801005670025
Kwisatz Haderach
 Kwisatz Haderach      27.11.2010 - 03:05:06 , level: 2, UP   NEW
tych 15 iteracii si ako dlho generoval?

008090960322082405338351054980100567002505672097
_W1 22/7
 _W1 22/7      28.11.2010 - 18:34:47 (modif: 28.11.2010 - 18:35:34), level: 3, UP   NEW !!CONTENT CHANGED!!
1.794 sekundy..na tej stranke to mas hore vlavo v rohu, kolko ti to generuje.

20 iteracii to dalo za 65.987 sekund.
http://w1ponline.net/tmp/HTML5/20iteracii.png
http://w1ponline.net/tmp/HTML5/20iteraciiB.png
20iteraciiT.png

(momentalne je tam nastavenych 20 iteracii, tak to chce strpenie a par-krat kliknut na 'continue execution of script' - tam potom vidiet medzistavy

0080909603220824053383510549801005498718
drakh
 drakh      16.08.2010 - 20:39:35 , level: 2, UP   NEW
canvas je tiez vktorova zalezitos, ale da sa s nim pracovat aj ako s obrazkom :0 a ma nejake tie vyhody oproti svg...

a pekny mandarinkovnik :)

When I sleep, I dream too much

00809096032208240533835105416304
_W1 22/7
 _W1 22/7      25.06.2010 - 15:12:14 , level: 1, UP   NEW
brutal....SVG predpokladam

00809096032208240533835105343440
jonas
 jonas      14.05.2010 - 17:14:43 (modif: 14.05.2010 - 17:15:20), level: 1, UP   NEW !!CONTENT CHANGED!!
Ako to, ze mozes pouzivat iframe?

00809096032208240533835105342658
drakh
 drakh      14.05.2010 - 10:23:31 (modif: 14.05.2010 - 10:27:49), level: 1, UP   NEW !!CONTENT CHANGED!!
toto sem dam len link lebo to kus tavi CPU.
http://lab.studiostillsoft.com/tree3.html

zalozene na statickej verzii.
skusal som dalsie moznosti raphaela. trochu nevyhodou je ze to tavi procak, ale inak .. SVG mam stale radsej. uz nech je jeho podpora v browseroch dotiahnuta a mozme sa vykaslat na flash... (pici skoda ze timery v browseroch su take CPU zruti, este toto treba dotiahnut a nom nom)

zdrojaky: view source.

When I sleep, I dream too much

0080909603220824053383510534265805342662
ntn
 ntn      14.05.2010 - 10:27:58 , level: 2, UP   NEW
Preco by toto mal byt CPU zrut? Mne to ide v pohode a ani moc necuca CPU :D

008090960322082405338351053426580534266205342672
drakh
 drakh      14.05.2010 - 10:30:50 , level: 3, UP   NEW
vseobecne timery v JS su dost overload na procak bohuzial.- toto este nemaju celkom doladene. jak ked si to pustim u seba tak mi to uplne zozere jedno jadro..

When I sleep, I dream too much

00809096032208240533835105342658053426620534267205342688
ntn
 ntn      14.05.2010 - 10:36:46 , level: 4, UP   NEW
No, akoze na sekundu to niekde pri konci skocilo na 80% na jednom jadre ale inak pohoda... A IE9 tusim 60% nepresiahol...

0080909603220824053383510534265805342662053426720534268805342703
drakh
 drakh      14.05.2010 - 10:47:03 , level: 5, UP   NEW
tak mas potom dobru masinu :)

When I sleep, I dream too much

00809096032208240533835105338372
drakh
 drakh      11.05.2010 - 16:08:23 [3K] , level: 1, UP   NEW

function Rand(min, max)
{
return Math.floor(Math.random() * (max - min + 1)) + min;
}
Page = (
{
makeBranch:function(sx, sy, ln, an, sz, lv)
{
if(lv>this.maxl) return;
lv++;
if(sz<1) sz=1;
var path = this.r.path().attr(
{
"stroke": '#030',
"stroke-width": sz,
"stroke-linejoin": "miter",
"stroke-linecap":"butt",
"stroke-miterlimit":1
});
path.moveTo(sx,sy,10);
var ex = sx + ln * Math.cos(an) ;
var ey = sy + ln * Math.sin(an) ;
path.lineTo ( ex, ey ) ;
if(lv>this.maxl)
{
var col=Rand(0,(this.cols.length-1));
var dot = this.r.circle(ex, ey, sz*2).attr(
{
fill: this.cols[col],
stroke: this.cols[col]
});
}
var sub_branch = Rand (1, this.max_sub_branch - 1) + 2 ;
var branch_length_dimin = 0.5 + Math.random()/2 ;
for ( var i=0; i < sub_branch; i ++ )
{
var newLength = ln * branch_length_dimin * 0.9;
var newAngle = an + Math.random() * this.max_sub_angle - this.max_sub_angle / 2 ;
var newSize = sz - 1 ;
this.makeBranch ( ex, ey, newLength, newAngle, newSize, lv) ;
}
},
ini: function()
{
this.cols=['#f00','#ff0','#fa0','#f0f'];
var w = 640;
var h = 480;
this.maxl=6;
this.max_sub_branch = 2 ;
this.max_sub_angle = 3*Math.PI/4 ;
this.max_size = 8 ;
this.branch_length = 5 ;
this.r = Raphael("graph", w, h);
this.makeBranch(w/2, h-5, h/4.5, -Math.PI/(Rand(10,60)/10), 5, 0);
}
});
window.addEvent('domready', Page.ini.bind(Page))


When I sleep, I dream too much