looking for graphic elements (canvas)

Post and discuss Lemur Modules.
Phil999
Regular
Posts:932
Joined:11 Jan 2012 01:53
looking for graphic elements (canvas)

Post by Phil999 » 07 Oct 2014 15:46

for example, a simple one-color background. What I did is to use the gradient command and two identical colors. There is probably an easier way?

Or lines, vertical, horizontal, with easy editable thickness and color. Circles, squares, triangles, pentagons, hexagons, etc. Again with easy editable sizes, thickness, and color.

Also transparent stuff. A transparent Canvas object that you can put on top of another object, for example one that has no z value, to simulate a touch input or z value.

While the Canvas object has many great possibilities, I'm more interested in simple graphic elements. The complex stuff I will learn later. Needless to say I haven't quite understood how it works. But if I have some simple examples I think I can understand better.

What are your findings so far?
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: looking for graphic elements (canvas)

Post by Softcore » 07 Oct 2014 18:01

Yup! I agree that canvas can be first and foremost a "discreet" guy doing hard chores in the background and not be something flashy.

Dont get why you used such a cumbersome way for a simple color fill
Canvas-ColouredFill.jzml
(1.16KiB)Downloaded 216 times
;)

By the way, unfortunately the z emulation is not possible. TOUCH transparency of Canvas (not visual) is only possible when the Canvas object is set to "no touch". As soon as you set it to "mono touch" or "multi touch" objects behind the canvas are not "touched".

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: looking for graphic elements (canvas)

Post by Softcore » 07 Oct 2014 18:04

Here...see what I mean!
Attachments
Canvas-TouchANDvisualtransparency.jzml
(6.01KiB)Downloaded 203 times

Joe Soap
Regular
Posts:475
Joined:07 Jul 2012 15:04

Re: looking for graphic elements (canvas)

Post by Joe Soap » 07 Oct 2014 18:04

Yo.

I think Phil intends the canvas touch to be used as a proxy z for objects that lack their own z attribute - except of course, as you mention - when touch is enabled on the canvas, it blocks input to anythingunderneath.

Which . . . is basically what you already said, except more longwinded! :D
Last edited by Joe Soap on 07 Oct 2014 18:07, edited 2 times in total.

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: looking for graphic elements (canvas)

Post by Softcore » 07 Oct 2014 18:06

yes thats what I said too....you CANT track BOTH the canvas overlay (for the z) AND the underlying object.

You 'll have EITHER the "pseydo z" of canvas but you will NOT be able to touch the overlayed object.....OR you will be able to "touch" the overlayed object BUT when canvas does NOT track touches.

Joe Soap
Regular
Posts:475
Joined:07 Jul 2012 15:04

Re: looking for graphic elements (canvas)

Post by Joe Soap » 07 Oct 2014 18:08

Yup - halfway through submitting my post I realised what you were implying ;)

They should just implement the fucking z on all objects already . . . it's not like people haven't been requesting it for years now or anything.
Last edited by Joe Soap on 07 Oct 2014 18:09, edited 1 time in total.

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: looking for graphic elements (canvas)

Post by Softcore » 07 Oct 2014 18:09

Download my example and you will see what I mean.........its NOT possible with the current state of Canvas....
Because when you set it to track touches, it looses its "touch" transparency (NOT THE VISUAL ONE)....so you cant use it ON TOP of another object that doesnt have a z attribute.
;)

Joe Soap
Regular
Posts:475
Joined:07 Jul 2012 15:04

Re: looking for graphic elements (canvas)

Post by Joe Soap » 07 Oct 2014 18:10

It's okay - I get it! :D

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: looking for graphic elements (canvas)

Post by Softcore » 07 Oct 2014 18:11

lol no damn it - you dont!

Just kidding lol!

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: looking for graphic elements (canvas)

Post by Softcore » 07 Oct 2014 18:12

Well honestly, which objects do not currently have a z attribute? I think they could be easily recreated in their whole, using canvas....So I honestly think its a moot point to ask for z anymore.

Post Reply