I perfected the rectangle filler, it now takes only minimal time to render rectangles, and performance and precision were also improved greatly. I also like how you can see the way the rectangle gets rendered in this version. Feel free to use this for your own projects, I'm sure it'll come in handy.