Page 1 of 1

Wire - Shape's height/width?

Posted: Sat Mar 19, 2022 07:17
by subset
I'm playing around with Wire, and I'm confused about how to think about shape sizes. As far as I can tell, height=1 is the height of the screen. So they seem to be scaled relative to the screen. But the width dimension seems awkward. If the screen ratio is 16:9, I end up with height=1 and width=1.78 (which is 16.02). So it seems like I'll always have to deal with a lot decimals when thinking about widths. Or am I going about this all wrong?
77697265-4db6-4573-8aa7-42362bc44931_-_Rectangle__Edited_.png

Re: Wire - Shape's height/width?

Posted: Mon Mar 21, 2022 09:34
by Zoltán
Correct, for shapes, 1 is the height.
A patch can have dynamic size in a host like Resolume, so for generative stuff it makes sense to not think in pixels.

You can use the patchInfo node to get the patch aspect ratio for the width: