alelievr / Mixture

Mixture is a powerful node-based tool crafted in unity to generate all kinds of textures in realtime
https://trello.com/b/2JiH2Vsp/mixture
MIT License
1.22k stars 129 forks source link

Implement 2D and 3D Supershape #67

Closed felixcantet closed 6 days ago

felixcantet commented 1 month ago

This branch add Supershape Algorith. Based on https://paulbourke.net/geometry/supershape/ The code is based on https://www.shadertoy.com/view/NdXBWB

The node is working with 2D and 3D, exemples are provided for both cases

Note : I was testing Cursor AI IDE to try the tool, so I take Mixture as a use case. So this implementation is essentially the work of the AI.

SuperShape Supershape3D
alelievr commented 6 days ago

Thanks for the PR!