lego figure

This commit is contained in:
BENEDEK László 2024-09-24 21:00:41 +02:00
parent 21b17db295
commit 7699587ab1
3 changed files with 313 additions and 1 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
dist
js*

View File

@ -4,7 +4,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Benedek László - IH1RZJ - első beadandó</title> <title>Benedek László - IH1RZJ - első beadandó: Lego Batman</title>
<script async src="./dist/es-module-shims.js"></script> <script async src="./dist/es-module-shims.js"></script>
<script type="importmap"> <script type="importmap">
{ {

View File

@ -70,6 +70,30 @@
5, 5,
7 7
] ]
},
"arm_joint": {
"type": "SphereGeometry",
"options": [
2.5
]
},
"arm": {
"type": "CylinderGeometry",
"options": [
2.5,
2.5,
5
]
},
"hand": {
"type": "TorusGeometry",
"options": [
2,
0.2,
6,
20,
4.5
]
} }
}, },
"materials": { "materials": {
@ -241,6 +265,292 @@
1 1
], ],
"children": { "children": {
"r_shoulder": {
"geometry": "arm_joint",
"material": "purple",
"position": [
-6.8,
9.5,
0
],
"rotation": [
0,
0,
-20
],
"scale": [
1,
1,
1
],
"children": {
"r_upper_arm": {
"geometry": "arm",
"material": "purple",
"position": [
0,
-2.75,
0
],
"rotation": [
0,
0,
0
],
"scale": [
1,
1,
1
],
"children": {
"r_elbow": {
"geometry": "arm_joint",
"material": "purple",
"position": [
0,
-2.75,
0
],
"rotation": [
-30,
0,
0
],
"scale": [
1,
1,
1
],
"children": {
"r_lower_arm": {
"geometry": "arm",
"material": "purple",
"position": [
0,
-2.75,
0
],
"rotation": [
0,
0,
0
],
"scale": [
1,
1,
1
],
"children": {
"r_wrist_helper": {
"type": "empty",
"position": [
0,
-3,
0
],
"rotation": [
0,
0,
0
],
"scale": [
1,
1,
1
],
"children": {
"r_hand": {
"geometry": "hand",
"material": "purple",
"position": [
0,
-2.4,
0
],
"rotation": [
0,
0,
-36
],
"scale": [
1,
1,
9
]
},
"r_wrist": {
"geometry": "arm",
"material": "purple",
"position": [
0,
0,
0
],
"rotation": [
0,
0,
0
],
"scale": [
0.5,
0.25,
0.5
],
"children": {}
}
}
}
}
}
}
}
}
}
}
},
"l_shoulder": {
"geometry": "arm_joint",
"material": "purple",
"position": [
6.8,
9.5,
0
],
"rotation": [
0,
0,
20
],
"scale": [
1,
1,
1
],
"children": {
"l_upper_arm": {
"geometry": "arm",
"material": "purple",
"position": [
0,
-2.75,
0
],
"rotation": [
0,
0,
0
],
"scale": [
1,
1,
1
],
"children": {
"l_elbow": {
"geometry": "arm_joint",
"material": "purple",
"position": [
0,
-2.75,
0
],
"rotation": [
-30,
0,
0
],
"scale": [
1,
1,
1
],
"children": {
"l_lower_arm": {
"geometry": "arm",
"material": "purple",
"position": [
0,
-2.75,
0
],
"rotation": [
0,
0,
0
],
"scale": [
1,
1,
1
],
"children": {
"r_wrist_helper": {
"type": "empty",
"position": [
0,
-3,
0
],
"rotation": [
0,
0,
0
],
"scale": [
1,
1,
1
],
"children": {
"l_hand": {
"geometry": "hand",
"material": "purple",
"position": [
0,
-2.4,
0
],
"rotation": [
0,
0,
-36
],
"scale": [
1,
1,
9
]
},
"l_wrist": {
"geometry": "arm",
"material": "purple",
"position": [
0,
0,
0
],
"rotation": [
0,
0,
0
],
"scale": [
0.5,
0.25,
0.5
],
"children": {}
}
}
}
}
}
}
}
}
}
}
},
"neck": { "neck": {
"geometry": "neck", "geometry": "neck",
"material": "purple", "material": "purple",