3D Web · Exercise 1 of 5Next
Beginner
Put a ball halfway between two points
Two points of the Lumen frame are given: the bottom bracket A = (0, 0.3, 0) and the head tube's bottom B = (0.47, 0.7, 0).
Add a small ball named midpoint exactly halfway between them. Do not type the answer: work it out from A and B with vector methods.
What Check tests
- A mesh named midpoint exists
- It is at (0.235, 0.5, 0)
- A and B were not moved
Stuck? One hint at a time
The solution unlocks after your first Check. Try first: that is where the learning happens.
Runs in your browser. Your code is saved here.
Your page
Press Run to see the page.
Console
Nothing logged yet.