Re: Input binary values by mouse

PY Fave <[email protected]> Tue, 24 Mar 2026 00:06:47 +0100
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <CAAQHdpBgOp_bq-HzN6TFHmbZ0tixfKtzHsBWV1tGkL7wUai5kg@mail.gmail.com>
perhaps you can use gem for gui
  pix_set , pix_dump, gem_mouse ?

on a black and white image

it could work fast, no?





Le mer. 18 févr. 2026 à 23:20, Simon Iten <[email protected]> a écrit :

> Hi list,
>
> I am looking for a way to input binary values via mouse input.
>
> Basically I want a sequencer like structure to turn on and off a bunch of
> relays on a RPI.
>
> It would be nice to use something like an array for each output, so the
> user can draw in the state of the output over time.
>
> For that it would be great to only allow inputs that are:
>
> 1) in range (so mouse-movement outside the object does not draw outside
> the visible array, but constrains to the max or min)
> 2) round the values to only integer input, in my case 0 and 1.
>
> An array would be nice since it would allow very fast (no clicking needed)
> entry of many points and the state of each output would immediately be
> visible…
>
> Maybe there is some external that allows something like that?
>
> Thanks for any hints
>
>
>
> ---
> [email protected] - the Pure Data mailinglist
>
> https://lists.iem.at/hyperkitty/list/[email protected]/message/74KYYSE3LIKXREJNBCU4UXGKEEGIPKSA/
>
> To unsubscribe send an email to [email protected] mailing list
> UNSUBSCRIBE and account-management -> https://lists.iem.at/

---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/6TRW2673H7Z7VWIDMLXXUQGH6CM2MB2S/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/