3Dフォレスト & Pythonエンジン
v1
by
a
aka11
Loading...
3D Forest & Python
3D Forest
Python で制御されるインタラクティブな 3D 環境
フォレストを読み込み中...
ドラッグして見回す
PYTHON コンソール
import js import math # Python can control the 3D scene! # Change fog color js.forestApp.scene.background.setHex(0x0a1a11) js.forestApp.scene.fog.color.setHex(0x0a1a11) # Rotate the left picture slightly js.forestApp.planes.left.rotation.y = math.pi / 2.2 # Move the floor grid down a bit js.forestApp.floor.position.y -= 0.5 print("Scene, rotation and floor grid updated via Pyodide!")
スクリプトを実行
出力