core-async 2025-10-12

ChillPillzKillzBillz 2025-10-12T15:15:40.803829Z

Hello, Are there any code examples for core.async.flow available publically?

This is just a toy https://github.com/jpmonettas/radio-snake. I demoed it in this video https://www.youtube.com/watch?v=bV-amgLb-2Q. It is basically a core.async.flow graph that process radio samples from a car key fob captured with a HackRF one, does some digital signal processing to figure out the buttons press and drives a snake game. Everything is model with flow.

ChillPillzKillzBillz 2025-10-12T15:26:32.983989Z

Thanks @jjttjj! Will check it out

ChillPillzKillzBillz 2025-10-12T15:27:36.162099Z

@jpmonettas no I meant the ability of wrapping processes and channels into a flow as it is meant to be done using core.async.flow. I'll check out the links you've shared... but I don't think this is what I am after... Thanks anyways.

ChillPillzKillzBillz 2025-10-12T15:28:30.358289Z

@jpmonettas I see that you use flow in your code. I'll check out your code

ChillPillzKillzBillz 2025-10-12T15:28:33.066059Z

thanks again!

So what I shared is an implementation of a system using a core.async.flow graph as its core

ChillPillzKillzBillz 2025-10-12T15:29:15.104539Z

yes I see that now... thanks!

it has 1 channel input (the radio IQ samples captured by the HackRF) and then the output on the other side of the graph is the new game world to be rendered

👍 1

https://git.sr.ht/~hiredman/resderelictae/tree/master/item/irc.clj haven't updated this in a while, so might not work with flow as released