Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please help with that parametric surface #37

Closed
BETAPANDERETA opened this issue May 23, 2020 · 2 comments
Closed

Please help with that parametric surface #37

BETAPANDERETA opened this issue May 23, 2020 · 2 comments

Comments

@BETAPANDERETA
Copy link

BETAPANDERETA commented May 23, 2020

Please, I want to know or some guide to plot that parametric surface

First one I want to thank you for this content, it's amazing.
Returning with my problem I mean something like this:
cassini4b
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'm trying with this

lemnisBer = ParametricSurface(
                lambda u, v: np.array([
                   np.cos(u) / (np.sin(u)**2 + 1),
                   0
                   np.cos(u) * np.sin(u) / (np.sin(u)**2 + 1),
                ]), u_min=TAU, u_max=TAU, checkerboard_colors=[YELLOW_E,YELLOW_E],
                resolution=(15, 32)).scale(1.5)

But that don't graph a peanut or something similar.
Best and sincerely greetings,

@BETAPANDERETA BETAPANDERETA changed the title Please help wit that parametric surface Please help with that parametric surface May 23, 2020
@Elteoremadebeethoven
Copy link
Owner

Since this is not a question about installation or my tutorials, I recommend that you watch my How to ask your questions about manim video. If you are still interested in me personally solving your question, I would charge you 15 USD via PayPal.

@BETAPANDERETA
Copy link
Author

Oh thanks you, I solved that , I did the graph that I want, but I´m very grateful with your tutorial and start guides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants