Welcome to %s forums

BrainModular Users Forum

Login Register

From PointsCurve to MapperCurve

I need help on a Patch
Post Reply
r.erorr
Member
Posts: 405
Location: Latvia
Contact:

Unread post by r.erorr » 23 Feb 2015, 20:23

I would like to draw curve on PointsCurve module(because its easier and more smooth) and them apply it to MapperCurve. Unfortunately there are two array outputs(x,y) from PointsCurve module, but MapperCurve have just one array inlet. Is it possible somehow convert those two outputs to one array so I can use it fore MapperCurve?

sephult
Member
Posts: 1144
Contact:

Unread post by sephult » 23 Feb 2015, 23:00

You should be able to concatenate the array.
Just tested, Place an array concatenate between the XY of the points curve, do an array set size controlled by the Num of Steps, and take the output to the Mapper Curve in User Mode. If you Just concatenate the MapperCurve will double the Array Value, this is why you need to set the array size to the steps.
:)

-S
"Every act of creation is first an act of destruction." -Picasso

sephult
Member
Posts: 1144
Contact:

Unread post by sephult » 23 Feb 2015, 23:05

The mapper curve does not have an adjustable X, and seems to be only defined by the resolution of the array.
Just wiring the Y with an array set size will work as well because of this.

I think the mapper curve is actually a much smoother and easier to define, smooth curves.
In the opposite direction you can really see the difference.

-S
"Every act of creation is first an act of destruction." -Picasso

r.erorr
Member
Posts: 405
Location: Latvia
Contact:

Unread post by r.erorr » 25 Feb 2015, 00:19

Hmm . . . probably I think visually, but problem is somehow related that distance between points is not equal to steps of array. I made some screens:



Image
Image

bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 25 Feb 2015, 13:36

I think I once made a script just for this - probably in v5. If so, I am opretty sure I uploaded it as an add-on. I'm at work now and don't have time to search around.
Bjørn S

r.erorr
Member
Posts: 405
Location: Latvia
Contact:

Unread post by r.erorr » 26 Feb 2015, 16:25

Yes, exactly Points Curve to Array
Thanx

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 02 Mar 2015, 21:09

i can't get access to dowload /add on section and i would need back this scipt, any chance one of ya paste the code here on the forum ?

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 03 Mar 2015, 17:39

never mind, found it back via changing url :). working on a blurring/smoothing array script that goes well with this one, might interst ya r.rttor ;) will post a bit later..

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests