forked from KolibriOS/kolibrios
f9d251a1fc
git-svn-id: svn://kolibrios.org@8824 a494cfbc-eb01-0410-851d-a64ba20cac60
121 lines
4.5 KiB
JavaScript
121 lines
4.5 KiB
JavaScript
// block name, color, step, coord: x,y,z, rotation: x,y,z
|
|
|
|
const m1 = 0x1bff4c; //зеленый
|
|
const m2 = 0xffffff; //white
|
|
const m3 = 0x808080; //gray
|
|
const m4 = 0x080808; //black
|
|
|
|
model_list=[
|
|
['b10x10x1', m1, 0,-16, -8, 0, 0,0,0],
|
|
['b1x2x1', m2, 1, -4, -8, 3, 0,0,90],
|
|
['b1x2x1', m2, 1, 12, -8, 3, 0,0,90],
|
|
['b1x2x1', m2, 1, -4, 24, 3, 0,0,90],
|
|
['b1x2x1', m2, 1, 12, 24, 3, 0,0,90],
|
|
['b2x2x1', m3, 1, -8, -4, 3, 0,0,0],
|
|
['b2x2x1', m3, 1, 8, -4, 3, 0,0,0],
|
|
['b2x2x1', m3, 1, -8, 28, 3, 0,0,0],
|
|
['b2x2x1', m3, 1, 8, 28, 3, 0,0,0],
|
|
['b2x3x1', m3, 2, -8, -8, 6, 0,0,0],
|
|
['b2x3x1', m3, 2, 8, -8, 6, 0,0,0],
|
|
['b2x3x1', m3, 2, -8, 24, 6, 0,0,0],
|
|
['b2x3x1', m3, 2, 8, 24, 6, 0,0,0],
|
|
['b2x3x1', m3, 3, -8, -8, 9, 0,0,0],
|
|
['b2x3x1', m3, 3, 8, -8, 9, 0,0,0],
|
|
['b2x3x1', m3, 3, -8, 24, 9, 0,0,0],
|
|
['b2x3x1', m3, 3, 8, 24, 9, 0,0,0],
|
|
['b2x3x1', m3, 4, -8, -8, 12, 0,0,0],
|
|
['b2x3x1', m3, 4, 8, -8, 12, 0,0,0],
|
|
['b2x4x1', m3, 4, -8, 20, 12, 0,0,0],
|
|
['b2x4x1', m3, 4, 8, 20, 12, 0,0,0],
|
|
['b2x4x1', m3, 5, -8, -8, 15, 0,0,0],
|
|
['b2x4x1', m3, 5, 8, -8, 15, 0,0,0],
|
|
['b2x4x1', m3, 5, -8, 20, 15, 0,0,0],
|
|
['b2x4x1', m3, 5, 8, 20, 15, 0,0,0],
|
|
['b2x4x1', m3, 5, 8, 12, 15, 0,0,90],
|
|
['b1x4x1', m3, 5, 8, 8, 15, 0,0,90],
|
|
['b2x8x1', m3, 6, -8, -8, 18, 0,0,0],
|
|
['b2x8x1', m3, 6, 0, -4, 18, 0,0,0],
|
|
['b2x8x1', m3, 6, 8, -8, 18, 0,0,0],
|
|
['b2x3x1', m3, 6, -8, 24, 18, 0,0,0],
|
|
['b2x3x1', m3, 6, 8, 24, 18, 0,0,0],
|
|
['b2x8x1', m3, 7, -8, -8, 21, 0,0,0],
|
|
['b2x3x1', m3, 7, 0, 24, 21, 0,0,90],
|
|
['b1x6x1', m3, 7, 12, 32, 21, 0,0,90],
|
|
['b2x3x1', m3, 7, 12, 24, 21, 0,0,90],
|
|
['b2x8x1', m3, 7, 8, -8, 21, 0,0,0],
|
|
['b2x4x1', m3, 7, 0,-12, 21, 0,0,0],
|
|
['b2x2x1', m3, 8, 0,-16, 24, 0,0,0],
|
|
['b2x4x1', m3, 8, 8, -8, 24, 0,0,90],
|
|
['l2x2x1', m3, 8, -8, 0, 24, 0,0,-90],
|
|
['l2x2x1', m3, 8, 12, 0, 24, 0,0,180],
|
|
['b2x8x1', m3, 8, -8, 4, 24, 0,0,0],
|
|
['b2x8x1', m3, 8, 8, 4, 24, 0,0,0],
|
|
['f1x2x1', m3, 8, 4, 32, 24, 0,0,90],
|
|
['l2x2x1', m3, 9, 0, -8, 27, 0,0,180],
|
|
['l2x2x1', m3, 9, 4, -8, 27, 0,0,-90],
|
|
['b2x8x1', m3, 9, -8, -4, 27, 0,0,0],
|
|
['b2x8x1', m3, 9, 8, -4, 27, 0,0,0],
|
|
['b2x2x1', m3, 9, -8, 28, 27, 0,0,0],
|
|
['b2x2x1', m3, 9, 8, 28, 27, 0,0,0],
|
|
['b1x2x1', m3, 9, 2, 32, 27, 0,0,0],
|
|
['b2x4x1', m3, 10, 8, -8, 30, 0,0,90],
|
|
['b2x8x1', m3, 10, -8, 0, 30, 0,0,0],
|
|
['b2x8x1', m3, 10, 8, 0, 30, 0,0,0],
|
|
['b1x4x1', m3, 10, 8, 32, 30, 0,0,90],
|
|
['b2x2x1', m3, 11, 0, -8, 33, 0,0,0],
|
|
['b2x8x1', m3, 11, -4, 0, 33, 0,0,0],
|
|
['b2x8x1', m3, 11, 4, 0, 33, 0,0,0],
|
|
['b2x4x1', m3, 12, 0,-32, 24, 0,0,0],
|
|
['b1x2x1', m3, 12, -4,-20, 24, 0,0,0],
|
|
['b1x2x1', m3, 12, 8,-20, 24, 0,0,0],
|
|
['b1x2x1', m3, 13, 4,-32, 27, 0,0,90],
|
|
['b2x4x1', m3, 13, 8,-28, 27, 0,0,90],
|
|
['b2x4x1', m3, 13, 8,-20, 27, 0,0,90],
|
|
['b1x2x1', m2, 13, -8,-32, 27, 0,0,0],
|
|
['b1x2x1', m2, 13, 12,-32, 27, 0,0,0],
|
|
['b1x2x1', m3, 13, -8,-12, 27, 0,0,75],
|
|
['b1x3x1', m3, 14, 0, 0, 3, 0,0,0, 1],
|
|
['b1x2x1', m3, 15, 0, 8, 6, 0,0,0, 1],
|
|
['b1x3x1', m3, 16, 0, 0, 9, 0,0,0, 1],
|
|
['b1x2x1', m3, 16, 0, 12, 9, 0,0,0, 1],
|
|
['b1x2x1', m3, 17, 0, 8, 12, 0,0,0, 1],
|
|
['b1x3x1', m3, 18, 0, 0, 15, 0,0,0, 1],
|
|
['b1x2x1', m3, 13, 12,-12, 27, 0,0,-75],
|
|
['b1x3x1', m3, 14, 0, 0, 3, 0,0,0, 1],
|
|
['b1x2x1', m3, 15, 0, 8, 6, 0,0,0, 1],
|
|
['b1x3x1', m3, 16, 0, 0, 9, 0,0,0, 1],
|
|
['b1x2x1', m3, 16, 0, 12, 9, 0,0,0, 1],
|
|
['b1x2x1', m3, 17, 0, 8, 12, 0,0,0, 1],
|
|
['b1x3x1', m3, 18, 0, 0, 15, 0,0,0, 1],
|
|
['b2x2x1', m3, 14, 0,-16, 30, 0,0,0],
|
|
['b2x4x1', m3, 14, 0,-32, 30, 0,0,0],
|
|
['b2x3x1', m3, 14, -8,-28, 30, 0,0,0],
|
|
['b2x3x1', m3, 14, 8,-28, 30, 0,0,0],
|
|
['b2x3x1', m3, 15, 0,-16, 33, 0,0,90],
|
|
['b2x3x1', m3, 15, 12,-16, 33, 0,0,90],
|
|
['b2x3x1', m3, 15, 0,-24, 33, 0,0,90],
|
|
['b2x3x1', m3, 15, 12,-24, 33, 0,0,90],
|
|
['l2x2x1', m3, 15, 0,-28, 33, 0,0,180],
|
|
['l2x2x1', m3, 15, 4,-28, 33, 0,0,-90],
|
|
['c1x1x1', m4, 16, -4,-28, 36, 0,0,0],
|
|
['c1x1x1', m4, 16, 8,-28, 36, 0,0,0],
|
|
['b2x4x1', m3, 16, 0,-28, 36, 0,0,0],
|
|
['b2x2x1', m3, 16, -8,-24, 36, 0,0,0],
|
|
['b2x2x1', m3, 16, 8,-24, 36, 0,0,0],
|
|
['b1x2x1', m3, 16, 4,-12, 36, 0,0,90],
|
|
['b2x4x1', m3, 17, 8,-28, 39, 0,0,90],
|
|
['b2x3x1', m3, 17, -8,-20, 39, 0,0,0],
|
|
['b2x3x1', m3, 17, 0,-20, 39, 0,0,0],
|
|
['b2x3x1', m3, 17, 8,-20, 39, 0,0,0],
|
|
['b2x3x1', m3, 19, 0,-36, 21, 0,0,0],
|
|
['b2x2x1', m3, 20, 0,-36, 18, 0,0,0],
|
|
['b2x2x1', m3, 21, 0,-36, 15, 0,0,0],
|
|
['b2x2x1', m3, 22, 0,-36, 12, 0,0,0],
|
|
//['b2x2x1', m3, 23, 0,-40, 9, 0,0,0],
|
|
|
|
];
|
|
|
|
model_animat=[
|
|
[67,'rotation','z','*1', 0.49087385,2.15984494,.09817477],
|
|
[74,'rotation','z','*2', -2.15984494,-0.49087385,.09817477],
|
|
]; |