Skip to content

Instantly share code, notes, and snippets.

@theronhitchman
Created April 1, 2013 06:25
Show Gist options
  • Save theronhitchman/5283482 to your computer and use it in GitHub Desktop.
Save theronhitchman/5283482 to your computer and use it in GitHub Desktop.
start of a demonstration of Euler and Meusnier
var('u v t s')
P = parametric_plot3d([cos(u)*sinh(v), sin(u)*sinh(v), cosh(v)], [u,0,2*pi], [v,0,2], opacity=0.6, aspect_ratio=1, color='blue')
P+= parametric_plot3d([cos(u)*sqrt(3), sin(u)*sqrt(3), 2], [u,0,2*pi], thickness=2, color='black')
P+= parametric_plot3d([0, sinh(v), cosh(v)], [v,0,2], thickness=2, color='red')
P.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment