Skip to content

Commit 82e4ac0

Browse files
Ryoichi AndoRyoichi Ando
authored andcommitted
example drape code in README update
1 parent d91e46e commit 82e4ac0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Please look into the [examples](./examples/) directory for more examples.
174174
from frontend import App
175175

176176
# make an app
177-
app = App.create()
177+
app = App.create("drape")
178178

179179
# create a square mesh resolution 128 spanning the xz plane
180180
V, F = app.mesh.square(res=128, ex=[1, 0, 0], ey=[0, 0, 1])
@@ -188,8 +188,8 @@ V, F = app.mesh.icosphere(r=0.5, subdiv_count=5)
188188
# add to the asset and name it "sphere"
189189
app.asset.add.tri("sphere", V, F)
190190

191-
# create a scene "five-sheets"
192-
scene = app.scene.create("five-sheets")
191+
# create a scene
192+
scene = app.scene.create()
193193

194194
# gap between sheets
195195
gap = 0.01

0 commit comments

Comments
 (0)