Forums > Jitter

line width with sketch

Oct 28 2010 | 11:09 am


2 questions:
– i make drawing with the object. when i change the width, he change the width to all the lines. i search the possibility to change individually the width, make drawing with smaller and larger lines on the same picture.

– i like to delimit section. is it possible to send the sketch drawing to a square make with a or a videoplane. like a canvas.

all the best

— Pasted Max Patch, click to expand. —
Oct 29 2010 | 1:46 am

for different line widths, you’d need multiple objects, same as color or point_size. though maybe through direct GL calls you can change these attributes for one sketch? not sure.

for the canvas, you could capture the drawing to a matrix, then use the matrix as a texture on the jit.plato/jit.gridshape/jit.videoplane. probably there are other ways too. might need to alter tex_map attribute to suit (or to make it go crazy :)

Oct 29 2010 | 10:25 am

all the best

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Jitter