So I'm thinking about adding a couple of framebuffer modes to vga-framebuffer-rs. I like your idea of a Line knowing how to do Bresenham's algo itself. I wonder if there's a way to integrate these two.
-
-
-
Not quite sure what you're getting at. Seeing as e-gfx can give you an iterator for a line, why not consume that into a framebuffer?
-
Yes that'll work. I'm just not sure how much overlap we've got in functionality and how to sort that. Like Colours, and Co-ordinates. I feel like we need a HAL to share.
-
I recently added Nalgebra support to e-gfx, so you could use that as a commonality for coords. e-gfx 0.3.0 has just been released with support for other colour types using the `PixelColor` trait, like this: https://docs.rs/embedded-graphics/0.3.0/embedded_graphics/pixelcolor/index.html … does that help?
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.