adamberro
2019-5-18 16:38:08

@adamberro has joined the channel


steveh2009
2019-5-18 17:56:10

Can someone please show me an example of setting up a mouse motion event to a canvas? I see the high level docs but but not a specific syntax application of the registering methodology. Thanks!


soegaard2
2019-5-18 18:00:15

@steveh2009 I vaguely remember seeing an example at StackOverflow. I’ll see if I can find it.



soegaard2
2019-5-18 18:02:23

And here is an example with mouse-events (but it is illustrating something else):




soegaard2
2019-5-18 18:14:29

Yet another great blog post from Alex H.: https://alex-hhh.github.io/2019/05/timezone-visualization.html


steveh2009
2019-5-18 18:21:41

So the key is to use (define/override (on-event…) when creating the canvas% object. Great, thanks again!


soegaard2
2019-5-18 18:35:01

Yep, that’s the key.


joelmccracken
2019-5-19 02:49:04

Is there some way to type the “◊” char when working with pollen


joelmccracken
2019-5-19 02:49:09

keyboard combo or something’



joelmccracken
2019-5-19 03:02:35

my heroine


joelmccracken
2019-5-19 03:02:45

tyvm


joelmccracken
2019-5-19 03:03:11

have you done much with pollen?


lexi.lambda
2019-5-19 03:03:17

Nope!


joelmccracken
2019-5-19 03:03:30

ok


lexi.lambda
2019-5-19 03:06:09

I’ve only tinkered with it. But MB is in this slack and sometimes answers questions (and some other people have used it more than I have).


joelmccracken
2019-5-19 03:06:46

cool


joelmccracken
2019-5-19 03:07:32

Matthew’s whole thing is really neat. I love that he, as a non-programmer (IIRC), made this cool thing with Racket


joelmccracken
2019-5-19 03:08:38

just checked on Hackett; do you have a plan for the effects system there?


lexi.lambda
2019-5-19 03:08:46

I think he sells himself considerably short by calling himself a non-programmer. :wink: But yes, Pollen is very neat.


lexi.lambda
2019-5-19 03:09:17

Re: Hackett, not really, and also Hackett has been on the back burner for a while because I just haven’t had the time to work on it.


joelmccracken
2019-5-19 03:11:05

yeah i figured