Line graph in Jitter?

ygreq's icon

Hi folks!

I have a stream of numbers from 0. to 20. that I would like to update a line graph with in real time. All rendered in a window.

Any idea on what to look for? What objects to use?
Thank you so much!

ygreq's icon

I made a patch that does what I wanted. But it moves slow once it gets connected to the other objects of the installation. These are not present in the example patch below.

Any idea how I can get this into GL so it moves faster?
Now it's in the 2d realm.

Thank you so much!

Max Patch
Copy patch and select New From Clipboard in Max.

Pedro Santos's icon

Hello YGREQ. Is this better in terms of performance? It certainly is in terms of simplicity.

Max Patch
Copy patch and select New From Clipboard in Max.

ygreq's icon

OMG! This looks so much better! Thank you!

I will check soon with the rest of the patch

sousastep's icon

you may also consider yoinking the oscilloscope from the M4L LFO

Matteo Marson's icon

If you're into jit.gl.pix programming, this is an alternative to jit.gl.graph:

Max Patch
Copy patch and select New From Clipboard in Max.
ygreq's icon

Thank you all! Wonderful examples!

Ben Bracken's icon

And yet another example using jit.gl.path:

Max Patch
Copy patch and select New From Clipboard in Max.

ygreq's icon

I definitely need to use zl more often. ;))

Thank you!!