barrard Posted April 26 Share Posted April 26 (edited) Hey thanks for reading/offering help with my question. I'm drawing roughly about 100 horizontal Graphics.drawRect() on a canvas with Pixi.js as seen here Each horizontal line is a color filled rect using Graphics. This is simple enough, and poses little efforts to draw even when zooming and panning. The question is, and What I want to do, is, I want to draw many more of these lines, which wont go all the way across, but small vertical slivers as depicted here This is over simplified, as I would like to draw up to 43,000 of these small vertical slices of colored horizontal lines. How/what is the best way to do this without simply drawing 400k graphics on the canvas??? -is this not good idea? Thanks P.S. This is what I'm trying to mimic Edited April 26 by barrard Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.