Commit Graph

72 Commits

Author SHA1 Message Date
Norwin c912986436
Merge pull request #10 from SpeckiJ/repl-improvements
REPL improvements
2022-01-05 23:20:22 +01:00
Norwin a6d04d4c51
Merge pull request #8 from SpeckiJ/preview
Add `-hevring-preview` flag
2022-01-05 23:20:02 +01:00
Norwin 8e4e38b258 print metrics on hevring too 2022-01-02 08:45:11 +01:00
Norwin 9071a1800a add -hevring-preview flag
enables storing of the current task image to a local file
2022-01-02 08:34:51 +01:00
Norwin 4586fdec1c repl: add load, store 2022-01-02 08:19:37 +01:00
Norwin a83be54502 repl: add scale, rotate 2022-01-02 08:07:49 +01:00
Norwin 69bb57a560 repl: add toggle start/stop shortcut 2022-01-02 07:47:39 +01:00
Norwin da3c05bfe4 repl: categorize commands in help string 2022-01-02 06:47:15 +01:00
Norwin 48f1fce93d repl: add status,help,host cmds
and don't re-apply task for local commands
2022-01-02 06:46:53 +01:00
Jan Speckamp 4e0cc35c26
Merge pull request #3 from 6543-forks/go-mod
Add go.md and go.sum
2021-12-29 22:28:24 +01:00
6543 7604db73de
Update go.mod
Co-authored-by: Norwin <noerw@users.noreply.github.com>
2021-12-29 22:13:23 +01:00
6543 6f8b100ad3 Add go.md and go.sum
to be able to exec it with newer go versions
2021-12-29 21:31:39 +01:00
Norwin Roosen dc7190af58
speed up command generation
still slow, but 2-3x faster
2021-04-25 16:31:12 +02:00
Norwin Roosen e9fc8e6c48
revert back to standard pixelflut api
fixed in shoreline
2021-01-02 15:53:07 +01:00
Norwin Roosen 0700f6c11b
update some comments 2021-01-02 15:52:26 +01:00
Norwin Roosen 5a25388d84
partially fix exit race condition in local mode 2021-01-02 15:49:30 +01:00
Norwin Roosen 4860070a6b
implement all te draw orderz
& add shorthands in REPL
2021-01-01 14:56:19 +01:00
Norwin Roosen 230a3d3f24
move FlutTask to pixelflut pkg 2021-01-01 14:56:19 +01:00
Norwin Roosen f191386a75
always read images as NRGBA 2021-01-01 14:56:19 +01:00
Norwin Roosen 93473eba8f
update ideas & readme 2021-01-01 14:56:19 +01:00
Norwin Roosen 997fbe0d2a
print throughput in SI units 2020-12-31 17:17:24 +01:00
Norwin Roosen fc85b32233
more gifs & stupid jokes
watch our RoI explode as our unicorn startup disrupts the entire pixel sector!11
2020-12-31 14:35:54 +01:00
Norwin Roosen 2cd2e694ff
update readme 2020-12-31 13:44:45 +01:00
Norwin Roosen 8a1e56ba1b
rpc on random port, if using local shorthand 2020-12-31 12:51:37 +01:00
Norwin Roosen 21a41cccf5
graceful connection errors
retrying with exponential backoff
2020-12-31 10:23:13 +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 19dbfa34bf
avoid killing the server with too many conns 2020-12-31 07:24:56 +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 c3ee33f8ce
fix pattern size regression 2020-12-29 21:09:00 +01:00
Norwin Roosen 1ca79d8e26
new randoffset for each draw 2020-12-29 21:08:31 +01:00
Norwin Roosen 2d536f21f3
add initial randoffset mode 2020-12-29 18:28:19 +01:00
Norwin Roosen 82f09db519
rework color parsing & dynamic palettes 2020-12-29 16:44:56 +01:00
Norwin Roosen 8f18af72f7
send alpha, if needed 2020-12-28 09:33:52 +01:00
Norwin Roosen 0ede282b73
fixup! changes??? idk anymore 2020-12-28 01:14:26 +01:00
Norwin Roosen 3fc0fbad40
changes??? idk anymore 2020-12-28 00:58:50 +01:00
Norwin Roosen e4acdac3a5 add funmode :^) 2020-02-15 13:58:01 +01:00
Norwin Roosen 470115a126 add text rendering via repl 2020-02-15 11:18:18 +01:00
Norwin Roosen 8a22c7bf29 add performance reporting
costs ~9% bomb performance;
can be toggled in Rán REPL via 'metrics'
2020-02-14 16:37:19 +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 ada015e90f rpc: add repl, kill clients on exit 2020-02-12 13:55:14 +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 067bef55f6 further speed up parsePixels() 2020-02-11 13:41:58 +01:00
Norwin Roosen 15b9cf19da speed up parsePixels() 2020-02-10 15:33:47 +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