So with this, you could make a parametric shape with fixed-number, or pressure-function inputs to the parameters?
For example, a rounded-corner square with allowed corner-radius range of 0 to square-width/2.
(All four corners with a radius of width/2 is the same as a perfect circle.)
SO.... with pressure tied to the corner-radius value, you could create square-to-circle shapes via pressure.
By changing width versus height, with the maximum radius, you can have a 'pill' or 'capsule' shape, too, of various lengths and widths.
Obviously setting a fixed value for the corner-radius lets you have an effective shape like so (or any shape between a sharp-corner square and a perfect circle):
- Rounded-corner square
- Shape_Ink_99.jpg (10.16 KiB) Viewed 69524 times
I would love to learn how to do this.
Pretty cool:
(I tweaked the default to have a spiral inside of the circle, with a masking circle-stroke to contain the spiral within the outer white circle.)
- Spiral in circle
- ShaderCoding.jpg (112.21 KiB) Viewed 69524 times