Line graph in Jitter?

ygreq's icon

ygreq

8月 25 2024 | 6:54 午後

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

ygreq

8月 26 2024 | 10:44 午前

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

Pedro Santos

8月 26 2024 | 2:22 午後

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

ygreq

8月 26 2024 | 7:20 午後

OMG! This looks so much better! Thank you!

I will check soon with the rest of the patch

sousastep's icon

sousastep

8月 27 2024 | 2:14 午前

you may also consider yoinking the oscilloscope from the M4L LFO

Matteo Marson's icon

Matteo Marson

8月 27 2024 | 8:14 午前

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

ygreq

8月 27 2024 | 3:49 午後

Thank you all! Wonderful examples!

Ben Bracken's icon

Ben Bracken

8月 27 2024 | 4:40 午後

And yet another example using jit.gl.path:

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

ygreq's icon

ygreq

8月 27 2024 | 5:16 午後

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

Thank you!!