Skip to content

Commit e29e66b

Browse files
committed
Update examples nb to use scale instead of radius
1 parent 186ab93 commit e29e66b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/Examples.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"metadata": {},
4848
"outputs": [],
4949
"source": [
50-
"ball.geometry.radius = 0.5"
50+
"ball.scale = (0.5,) * 3"
5151
]
5252
},
5353
{
@@ -59,7 +59,7 @@
5959
"import time, math\n",
6060
"ball.material.color = '#4400dd'\n",
6161
"for i in range(1, 150, 2):\n",
62-
" ball.geometry.radius = i / 100.\n",
62+
" ball.scale = (i / 100.,) * 3\n",
6363
" ball.position = [math.cos(i / 10.), math.sin(i / 50.), i / 100.]\n",
6464
" time.sleep(.05)"
6565
]

0 commit comments

Comments
 (0)