Ignore:
Timestamp:
04/07/14 02:24:57 (11 years ago)
Author:
Maciej Komosinski
Message:

Added argument to openCodeCreature() so that any genotype can be passed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • js/viewer-f0/index.html

    r216 r218  
    6363        <div id="test2">
    6464
    65             <button onclick="openCodeCreature()">Render</button>
     65            <button onclick="openCodeCreature('//0\np:sh=1\np:0.545102894306183, -0.318887442350388, sh=1, sx=1.1, sy=1.1, sz=1.1\np:1.16632652282715, -0.325989931821823, sh=1, sx=1.21, sy=1.21, sz=1.21\np:1.7860780954361, 0.063004806637764, sh=1, sx=1.331, sy=1.331, sz=1.331\np:2.13026833534241, 0.818416178226471, sh=1, sx=1.4641, sy=1.4641, sz=1.4641\np:2.01168036460876, 1.77628517150879, 7.99184850157293e-17, sh=1, sx=1.61051, sy=1.61051, sz=1.61051\np:1.32041680812836, 2.62884712219238, 2.42627849650446e-16, sh=1, sx=1.771561, sy=1.771561, sz=1.771561\np:0.138709783554077, 3.0578818321228, 4.58648859180417e-16, sh=1, sx=1.9487171, sy=1.9487171, sz=1.9487171\nj:0, 1, sh=1\nj:1, 2, sh=1\nj:2, 3, sh=1\nj:3, 4, sh=1\nj:4, 5, sh=1\nj:5, 6, sh=1\nj:6, 7, sh=1\n')">Render</button>
    6666        </div>
    6767    </div>
Note: See TracChangeset for help on using the changeset viewer.