Skip to content

Commit 8d7b938

Browse files
committed
content: update
1 parent 80df543 commit 8d7b938

File tree

6 files changed

+1117
-0
lines changed

6 files changed

+1117
-0
lines changed
8.53 MB
Binary file not shown.
62.3 KB
Binary file not shown.

public/3d/NeilArmstrong/moon_1k.hdr

446 KB
Binary file not shown.

public/scripts/model-viewer.min.js

+1,093
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

src/content/xyy/20240702b.mdx

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: model-viewer 演示
3+
pubDate: 2024-07-02
4+
---
5+
6+
<script
7+
is:inline
8+
type="module"
9+
src="/scripts/model-viewer.min.js"
10+
></script>
11+
12+
<model-viewer
13+
alt="Neil Armstrong's Spacesuit"
14+
src="/3d/NeilArmstrong/NeilArmstrong.glb"
15+
ar
16+
environment-image="/3d/NeilArmstrong/moon_1k.hdr"
17+
poster="/3d/NeilArmstrong/NeilArmstrong.webp"
18+
shadow-intensity="1"
19+
camera-controls
20+
touch-action="pan-y"
21+
min-width="100%"
22+
min-height="400px"
23+
style="width: 100%; height: 600px"
24+
></model-viewer>

0 commit comments

Comments
 (0)