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

Incorporate superformula into supershape #81

Merged

Conversation

kfahn22
Copy link
Contributor

@kfahn22 kfahn22 commented Jul 31, 2023

I am now have second thoughts about adding the 3D version, and have incorporated the superformula into the function for the supershape.

I have been experimenting with rendering the 3d supershape with lygia (and re-read Inigo Quelez's article on the inadvisability of including trig in 3d SDFs.) While there are some cool shapes that can be rendered, the SDF breaks for certain parameter combinations/interactions with other SDFs and has a slow load time. I am sorry that I didn't try to check this before!!

If you are interested, here are two sketches you can look at:
p5.Geometry version:
https://editor.p5js.org/kfahn/sketches/qwA1Z4kq5
Using lygia:
https://editor.p5js.org/kfahn/sketches/aS_XU6Rat

delete separate files for superformula
@patriciogonzalezvivo patriciogonzalezvivo merged commit 0acfc26 into patriciogonzalezvivo:main Jul 31, 2023
@patriciogonzalezvivo
Copy link
Owner

Thank you! Agree that this feel better.

@kfahn22 kfahn22 deleted the edit-supershape branch August 2, 2023 22:33
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

Successfully merging this pull request may close these issues.

None yet

2 participants