How to draw torus in Geogebra

osbertwang shared this question 8 months ago
Answered

Hello,

I wonder how to draw torus in Geogebra.

Now I have define a variable s, and define a curve as

CurveCartesian((2+0.5cos(t))cos(s),(2+0.5cos(t))sin(s),0.5sin(t),t,0,2π)

However, I want the variable s also defined in a range as variable t, rather than a independent variable.

That means, I need curve functions dependent on two variables.

How to do this?

Thank you.

Comments (2)

photo
2

This is the result You can change R and r with the sliders.


Torus

photo
2

You can add some color too

https://ggbm.at/xacwukxu

© 2019 International GeoGebra Institute