ai21.net
語言

Build me a human heart in interactive 3D, in one HTML file…

示範影片

Build me a human heart in interactive 3D, in one HTML file… — 1

提示詞

Build me a human heart in interactive 3D, in one HTML file with Three.js.

Make it look real: the deep red muscle with the red arteries and blue veins on top, and inside it the parts you never get to see. The four chambers, the four valves, the aorta and the pulmonary artery, the veins bringing blood back, and the wiring that sets the beat. The heart beats about once a second, the valves open and close in time, and the blood flows through it, blue going in and red going out. I can drag to orbit around it and scroll to zoom.

Add an Explode button. When I press it, every part slides apart with its name on a label. Press it again and it all snaps back together. When I hover a part, it lights up and shows one line on what it does.

No images. Do not ask me any questions. Just build it.

中文翻譯

用 Three.js 在一個 HTML 文件裏爲我構建一顆可交互的 3D 人體心臟。

讓它看起來真實:深紅色的肌肉,表面有紅色動脈和藍色靜脈,內部則是那些你永遠沒機會看到的部分。四個腔室、四個瓣膜、主動脈和肺動脈、把血液送回來的靜脈,以及設定心跳節律的線路。心臟大約每秒跳動一次,瓣膜隨之同步開合,血液在其中流動,藍色流入、紅色流出。我可以拖動來環繞它,滾動來縮放。

添加一個 Explode 按鈕。我按下它時,每個部件帶着名稱標籤滑開分離。再按一次,所有部件就咔嚓一聲重新合攏。當我懸停在某個部件上時,它會亮起,並顯示一行說明它作用的內容。

不要用圖片。不要問我任何問題。直接做出來。

溯源

原作者
aichrislee
發佈日期
2026-10-08(由推文 ID 反解)
原始出處
查看原帖 ↗
收錄來源
yihui-dev/awesome-opus5-5-videos · aichrislee-378670 · MIT