Commit Graph

27 Commits

Author SHA1 Message Date
Norwin Roosen 474901fbd5
move FlutTask to pixelflut pkg 2020-12-31 18:55:09 +01:00
Norwin Roosen 5f55530e3e
always read images as NRGBA 2020-12-31 17:42:53 +01:00
Norwin Roosen 8a1e56ba1b
rpc on random port, if using local shorthand 2020-12-31 12:51:37 +01:00
Norwin Roosen bb7ffbddfc
refactor main
cleaner code, more flexible flag usage, graceful exit for hevring,
improved image fetching
2020-12-31 09:57:02 +01:00
Norwin Roosen 6f2e2fd666
improve repl
add addr & help commands, don't restart if paused
2020-12-31 07:24:56 +01:00
Norwin Roosen 2d536f21f3
add initial randoffset mode 2020-12-29 18:28:19 +01:00
Norwin Roosen 470115a126 add text rendering via repl 2020-02-15 11:18:18 +01:00
Norwin Roosen 2ec417da6a always convert images to NRGBA
this type is rpc-serializable, and we avoid repeated color conversion
2020-02-14 12:39:16 +01:00
Norwin Roosen 3f06bf6b82 refactor clean exit code
so much work just to let cleanup run & to pause fluting :(
2020-02-13 23:57:56 +01:00
Norwin Roosen 9ab04b4f26 wip: clean exit
start adding a mechanism for stopping async tasks,
so we can cleanly quit and stop fluting without quitting
2020-02-13 22:26:50 +01:00
Norwin Roosen e716ae8d25 MVP distributed hochwasser 2020-02-12 11:20:30 +01:00
Norwin Roosen cf15da0732 rework rpc 2020-02-11 14:46:58 +01:00
Norwin Roosen d86e769e9a start distributed hochwasser
only RPC plumbing for now.

naming: https://en.wikipedia.org/wiki/Nine_Daughters_of_%C3%86gir_and_R%C3%A1n
2020-02-07 12:23:24 +01:00
Norwin Roosen 3f0acd9694 refactor pixelflut package into proper API 2020-02-06 13:39:24 +01:00
Norwin Roosen 7283fac957 speed up pixel fetching 2020-02-06 12:40:26 +01:00
Norwin Roosen 2a10ebd77d refactor code into separate files
preparation for more refactoring
2020-02-05 19:30:25 +01:00
Norwin Roosen 49cda88dd5 add naive implementation of fetchImage
but it's unusably slow
2020-02-05 18:37:44 +01:00
Norwin Roosen 2ac93b6ecd small refactor 2020-02-05 18:37:44 +01:00
Norwin Roosen 1c87615fdd fix runtime timeout 2020-02-04 14:59:15 +01:00
Norwin Roosen ccba493de1 go fmt 2020-02-04 13:41:59 +01:00
Norwin Roosen 26a4d1a6aa fix color decoding, skip transprent pixels
fixes #2
2020-02-04 13:40:30 +01:00
Norwin Roosen 6e15e7518b restore performance from before refactor 2019-01-22 11:10:38 +01:00
Norwin Roosen 850380bf6f add -shuffle flag 2019-01-11 18:30:27 +01:00
Norwin Roosen cbc5261bbc refactor 2019-01-11 18:30:17 +01:00
Norwin Roosen 33ba2d8eea add support for jpeg & gif 2019-01-11 18:29:13 +01:00
Norwin Roosen f07d2de3a8 correctly quit when connection fails 2019-01-11 18:29:07 +01:00
speckij 0181a83a4c
Initial upload 2019-01-06 22:00:43 +01:00