That'd be really cool. I guess the fastest thing might be to just store the polylines as Uint8Arrays and then put those into g.fillPoly? Assuming you were only drawing regular polygons? If they were irregular in one dimension only you might be able to get away with rotating the graphics and still using fillPoly though?
I think one thing we're missing is a fast way to interpolate between two arrays though, which would allow for smoother animations. I guess that one might actually be a good use for the E.compiledC...
© Espruino, powered by microcosm.
Report a problem