Fork me on GitHub
#quil
<
2021-05-26
>
Juλian (he/him)20:05:49

is there a way to only render a specific part of a loaded image? for rendering tile based maps this would be useful

recholsknauber21:05:17

I haven't done this with quil specifically, but cljs-ajax (https://github.com/JulianBirch/cljs-ajax) would be one of the main methods. With your image in component pieces (tiles), you would have logic with ajax to handle further rendering and continue serving up changes to the user on an unchanged page.