The set of interactive pages with the following structure:
Example of Computations $\mathbb{\implies}$ Your Experiments $\mathbb{\implies}$ Python Modules $\mathbb{\implies}$ Other Languages
Click the $\mathbb{activate}$ button below to display an interactive example.
@interact
def _(axis=['x','y','z'],
cm=['bwr','jet','cool','hsv']):
var('u,phi'); curve=(1+u^2/8,1-u^3/128,u)
def cf(u,phi): return cos(2*phi+u)^2
p=revolution_plot3d(curve,(u,-4,8),(phi,0,2*pi),
parallel_axis=axis,color=(cf,colormaps[cm]))
p.show(frame=False)
Type your own SageMath code lines below and click the $\mathbb{evaluate}$ button.
This code cell was evaluated automatically.