Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit520fe84

Browse files
committed
added some webgl boxes
1 parent44c6d51 commit520fe84

File tree

13 files changed

+126451
-0
lines changed

13 files changed

+126451
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Demo 05</title>
5+
<scripttype="text/javascript"src="/webgl/boxes/js/three.min.js"></script>
6+
<scriptsrc="https://d3js.org/d3.v7.min.js"></script>
7+
8+
<scripttype="text/javascript"src="/webgl/boxes/js/MTLLoader.js"></script>
9+
<scripttype="text/javascript"src="/webgl/boxes/js/OBJLoader.js"></script>
10+
11+
<scripttype="text/javascript"src="/webgl/boxes/js/demo.js"></script>
12+
<scriptdefersrc="/build/pyscript.js"></script>
13+
<linkrel="stylesheet"href="/build/pyscript.css"/>
14+
</head>
15+
<bodystyle="text-align:center;">
16+
<spanstyle="position:absolute;top:0px;left:0px;"><inputtype="button"value="Toggle Wireframe"onclick="mesh.material.wireframe=!mesh.material.wireframe;meshFloor.material.wireframe=!meshFloor.material.wireframe;"/><br/>WASD to move.<br/>Arrow keys to turn.</span>
17+
<py-script>
18+
from pyodide import create_proxy, to_js
19+
from js import THREE
20+
21+
22+
</py-script>
23+
</body>
24+
</html>
Loading
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp