How can I plot a 3D lemniscate ?
See original GitHub issuePlease, I want to know how can I plot that parametric surface
I mean something like this:
I saw that post http://lemur.cmp.uea.ac.uk/Research/ivis/backup/PhD/Latest/Paul%20Bourke%20Screenshots/Eggs,%20melons,%20and%20peanuts%20-%20Cassini%20Oval.htm to guide me, but I can´t understand how can I use that info. to create the parametric surface using ParametricSurface(lambda u, v: np.array([ # The parameters of that surface]))
I’ll be very greatful if you can help me
I was trying with:
lemnisBer = ParametricSurface(
lambda u, v: np.array([
np.sin(u)/(1+np.cos(u)**2),
v,
(np.sin(u)*np.cos(u))/(1+np.cos(u)**2)
]), v_min=0, v_max=TAU, u_min=TAU, u_max=TAU, checkerboard_colors=[YELLOW_E, YELLOW_E],
resolution=(15, 32)).scale(1.5)
But that doesn´t graph a peanut. If you can provide me a guide or something else I´ll be gratefull
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
Graphing Lemniscates - GeoGebra
Graph a Lemniscate of the form by first graphing the rectangular graph . You can drag point with the mouse and the points...
Read more >How to plot a lemniscate on a surface
The most convenient way is to start from the parametric equations of the lemniscate of Bernoulli, instead of insisting on the implicit ...
Read more >Lemniscate -- from Wolfram MathWorld
The lemniscate, also called the lemniscate of Bernoulli, is a polar curve defined as the locus of points such that the the product...
Read more >Need Help Plotting 3D Lemniscate of Bernoulli in Mathematica
Hi I am trying to plot a three dimensional Lemniscate of Bernoulli in Mathematica. So far I have only been able to make...
Read more >Pyplot lemniscate - python - Stack Overflow
i wonder if someone knows a more elegant way to plot a lemnicate in python (in terms of formula or other nice ideas...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, you have my permission to use the code. Good luck with your project!
Oh I’m gonna prove your code! Can I use that to my project ? I give you the credits at last of my proyect of course, if you give me permission to use that.
Thanks so much for you explanation , I really appreciate!