[PD] simulating grid

Ingo Stock mail at ingostock.de
Tue Jun 13 23:37:23 CEST 2017


On 13/06/17 22:36, Dan Wilcox wrote:
> Jump on click *might* be possible.

A short while ago i posted a vanilla multislider which uses data
structures and supports jump on click:
https://forum.pdpatchrepo.info/topic/10756/vanilla-struct-multislider-with-jump-on-click-and-drag.

It does so by having rows for each y value and columns for each x.

It works like a charm, but: If you want to use many sliders, like more
than eight or so, a disturbing memory bug occurs, which slows everything
down a bit but more importantly won't let you close the window for
seconds or even minutes.

So it is possible to get the click in vanilla, but it comes at a cost.
Using iem_event or receivecanvas still seems to be the preferable way.

best wishes, ingo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170613/6308e22e/attachment.sig>


More information about the Pd-list mailing list