General
Get help, share ideas, and discuss all things Lemur
Sign in or create an account to join the conversation.
Topics
canvas_refresh() not working like described
Why doesn't canvas_refresh() doesn't work on its own from within a script? I am trying to make a Canvas object template and a foundation starting point for canvas objects. When trying to initialise the canvas via canvas_refresh(), the script does not compile. But when I declare a variable inside the script and make the canvas_refresh() refer to the declaration variable, it works? So, Create script > Manual Execution > Touch - Multitouch > Redraw - On demand Inside Canvas object create a script c…
2 replies
CanvasPleasse add suport for images
Please, please million times, add support for any kind of image formats, it would make my life a lot easier. Android and i..something machines aren't that slow or lacking on memory to have Lemur loaded with images. Not to mention that skins designed in it would look waay better. This is great app, but it just needs a little kick to be undisputable king of touch controllers. Greets d
13 replies
CanvasLemurLoader for Win64 (Max external by Axel Baley)
Hi all, i'm looking at the canvas example where it is possible to visualize a Max audio buffer/waveform on Lemur. The example requires and external coded by Axel Baley and that is available for OSx and for Win32. Is there any Win64 version available or just the extarnal sorce so it can be compiled for Win64? thanks!
0 replies
CanvasNeed help with on cursor down/move in Canvas
Hi collective brain! I'm having an issue in Lemur that I can't seem to figure out. I have a set of pads that send out Program changes with on cursor down and on cursor move, but when I move outside the range of the canvas rectangle the on cursor down remains active. I want it to trigger an on cursor up if x<0,y<0,x>w,y>h, but for the life of me I can't seem to figure out how to do it. Please help!
0 replies
CanvasStroke with gradient style
Is it possible to have path stroked with gradient? Somehow i cannot get this to work. Thanks d
0 replies
CanvasGradient object
Hi all, is there a way to check var or vector type/s? For eg. i want to declare vector which holds path, line width, line cap, style (gradient or color). How to check if it hold's gradient object type? I can see that gradient object doesn't expose any properties, for eg. num of color stops, colors on each color stop etc. or is there a way to access those? Thanks d
0 replies
CanvasHelp converting .SVG to canvas JZLIB
Hi All Im currently working on a surround sound project and have built a Lemur control surface for the spatialisation part the system. For the XY panners, I have designed a simple .SVG graphic overlay to sit on top of a multiball object to visually aid with positioning of the panner. The image size is 1014x1014,The only colour used is white with 20% opacity so that I can still see the multi ball object beneath it. I have been trying to use .SVG to canvas JZLIB by D-Space Studios ( http://d-space…
3 replies
CanvasRange slider Canvas?
Hi all, is it possile to make a range slider with a canvas? Just a simple rectangle that change its horizontal or vertical dimension with the mouse dragging the edges? many thanks and all the best
0 replies
CanvasCanvas Share… minimal Vu meter [again !]
Hi here is a share about a long time question (for me and others) about Vu meter… made with canvas, for put over regular Lemur object (Fader, multislider) patch contain : - Mono version - multivoice (stereo or more) : configurable/adjustable and auto-resize in regard of the nb of voice desired = write the value (2/8/16/...) in the expression name : NbSlider I used Max/msp or M4L for send OSC message and that run great… enjoy flo VuMeter_Fader.jzml
0 replies
Canvas(solved) canvas_arc doesn't work on device
Hi all, I have a very odd problem with the canvas_arc function. I want to draw some circles together with two lines for the axes. While both are shown in the Lemur editor, the circles do not show up on the iPad air device (see attachment). I also tried to change the order of the function call (first draw axes, then the circles), but the circles never show up. What makes it even more strange is the fact that it worked 5 months ago. Here comes the code. decl c = getobject(); decl rect = getobjectr…
3 replies
Canvassample control interface using canvas
Here is a little demo that I worked up. https://liine.net/en/community/user-library/view/590/ It demonstrates the use of gradients and scripting to animate some canvas-based faders. Designed with a graphics app, then exported to SVG, and converted to JZML. It has two canvas objects: cv1 - for the background that is static, which does not redraw when controls are moved. cSliders - Repeats objects such as fader slot+caps and buttons and is active for touch. This is how it rendered in Firefox, you'…
0 replies
Canvaslength of characters — text in Canvas
hi i'm starting to used Canvas object and really enjoyed about how is possible to do… So i'm working on Fader with text inside… I'm looking for modular control, the control can changed on time for going on specified instance in Max/msp patch… I'm focused to make changed the text inside the object with specific text. that run well. But one question : if i write a small length text is ok, like 'this is a delay control' but if i write a long length message like 'Hi Im oran-outan and i live in santa…
3 replies
Canvasicon library
Hey there, currently i'm working on recreating my Bitwig template with canvas. Basically what i'm now looking for is a simple icon (shape) library, for play/pause cycle etc. All what is available fur custom buttons for example, just made with canvas. While simple shapes might be not that problematic to do, i wonder if anyone has already recreated those standard icons and would like to share them. I'm not too skilled with maths, so it would take a lot of time for me, wich i would like to spend on…
16 replies
CanvasCanvas Resizeable Lemur Logo
A RESIZEABLE Lemur Logo created with the canvas object. It is set to be transparent to "touch" (no touch) and be redrawn on demand, therefore it needs minimal resources just at the time of start up. Handy if you want some sort of logo appearance at the initial loading of your template. To resize the logo to your desired size, simply change the width of the Canvas object. Available at user library: https://liine.net/en/community/user-library/view/558/
10 replies
CanvasProper Rendering Design: Division of Labor
Hi everyone, I have designed a canvas object that represents a clip launcher grid (think Ableton Live, Bitwig Studio, etc) I find myself often running into script size limitations in my "On Redraw" handler code because that is where ALL of my drawing code is. I even had to create a script minifier to fit my code into Lemur. I have my script running On Demand so performance is not a huge issue, just fitting everything in one script is! Would a better design be to draw everything one time in my In…
5 replies
CanvasSimple drawing program help
I needed a script to allow a user to draw on the iPad (and eventually save off and use the points). Since Lemur has a 256 element limit on arrays, eventually I'll have to figure out how to span multiple arrays with the data points. In the meantime, I'm currently using a single array and wrapping around for testing. Attached is a canvas script to follow the mouse (in the editor) or finger (iPad) and draw a blue line. What I have problems with is really understanding how best to use the canvas fun…
11 replies
Canvasmousedown/mousemove bug?
I can kind of understand, but I still think it's a bug. If you create 2 scripts, one executing on mousedown and the other executing on mousemove, both get called for the initial click into the area. In most scenarios, this isn't a big deal, but if you're doing drawing based on mouse movements or saving off the points in an array, you end up with 2 identical entries in array positions 0 and 1 if you store the initial 'pen down' position with the mousedown event. You also get 2 scripts executing '…
0 replies
CanvasCanvas vertical text labels
Hey! i'm working on having vertical labels for my multislider or any other needs. After looking inside canvas_rotate.jzlib and the lemur doc, i've managed to get vertical text. I've managed to feed it with a string spread from VVVV. Now my issues are to fill the labels with default string before getting labels from OSC and to draw my array of labels accoring to the size of my canvas. here's an example of vertical label and my multislider label work in progress : vertical_label.jzml If someone ha…
3 replies
CanvasSwitch your canvas to On Demand.
I'm using a modified version of the radial sequencer, had it set to render onFrame (always) and noticed a crazy drop in frame rate / efficiency in my template... How crazy? Decided to try switching it to onDemand and saw an additional 8 FPS on my iPad 2, from 16 fps to 24 fps. Having the canvas render on frame was consuming an additional 33% of the renaming available resources just while the template was idling. Over all template efficiency (out of 60 fps) went from around 25% to about 40%. The …
1 reply
CanvasWhat exactly is the cursor ID number?
Hey all Trying to get into the canvas-- it's amazing! Something I don't understand ... what exactly is this seemingly strange number that the cursor produces? In the Paths.jzml Tutorial, the cursor produces numbers like 349637920. Is there any significance to these digits? Thanks! MOH
3 replies
Canvascanvas of death
hi ! i tried to use canvas ... and it's really great for designing animating. more power under my finger ...but ? sooooo slooooowwww.... the same template with and without canvas .... uncalculable frame rate gain... is the canvas will be optimised in future version of the lemur or should i get rid of canvas on my ipad 2 wifi only and go back to stone age in matter of design ? here is with the canvas object...sooooo greatttt !! template_ua_p1.jpg template_ua_p2.jpg template_ua_p3.jpg
7 replies
CanvasPath / Shape Clipping with Arcs
I've been having my way with the radial step sequencer project, decided it would be nice to round out the ends to keep it circular no matter how many steps are inserted (anything less than 8 started to look like a polygon as you might expect) After some fuss and thick headed-ness I was able to round out the outside edges of each switch with no problem. I tried applying the same logic to the inside edge of the trapezoid, and i can see the path generating, but the fill seems to ignore the new arc.…
7 replies
CanvasHelp me understand Canvas
Hi guys, I don't understand Canvas at all but from what I've seen they look really neat. However I don't even know where to start. When I add a canvas in the Lemur editor, nothing happens. Can someone please let me know how I should go about working with Canvas?
5 replies
Canvas5.2 - Canvas Radial Gradient seems broken?
Hi there, On the editor radial gradients looks fine, but when I send my template to iPad it doesn't, here how a factory example looks like: Radial gradient on iPad.jpg Anyone experiencing the same thing? I am using latest versions of Lemur (editor and app) on iPad Air (iOS7) Many thanks in advance,
10 replies
Canvas