thanks Achim, but I also want to scale the billboard on its pivot point and
I think its only possible with anchor position patch.


On Wed, May 8, 2013 at 3:11 PM, Achim Breidenbach <ac...@boinx.com> wrote:

> Hello Nisar,
>
> the Anchor patch deals with the problem that you have to put in the center
> coordinates of an image into the Billboard patch. It helps you if you want
> to position an image just excatly in a certain corner.
>
> For an regular grid, you just need to do the math of dividing the screen
> in those sections. This could be put in two Mathematical Expression patches:
>
> billboardXPosition = (-screenWidth/2.0) + (screenWidth / columCount) *
> (columIndex + 0.5)
> billboardYPosition = (screenHeight/2.0) - (screenHeight / rowCount) *
> (rowIndex + 0.5)
>
>
> best,
>
> Achim
>
> On 08.05.2013, at 11:58, Nisar Ahmed wrote:
>
> > Dear List,
> >
> > Does anyone know patch similar to anchor position with an option of
> defining custom positions?
> >
> > The anchor position patch has 9 points with which I can make 3x3 grid
> but i need 4x2, 3x2 etc... as well
> >
> > Nisar
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com
> )
> > Help/Unsubscribe/Update your Subscription:
> >
> https://lists.apple.com/mailman/options/quartzcomposer-dev/achim%40boinx.com
> >
> > This email sent to ac...@boinx.com
>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to