Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use WebGL instead of just plain canvas drawing #201

Open
TheBizzle opened this issue Feb 27, 2015 · 3 comments
Open

Use WebGL instead of just plain canvas drawing #201

TheBizzle opened this issue Feb 27, 2015 · 3 comments

Comments

@TheBizzle
Copy link
Member

As I discussed recently with @skorlir and @qiemem, WebGL would, in many ways, be a preferable technology to use for the NetLogo View, since WebGL would use the machine's GPU efficiently and be very fast, as well as also providing nicer ways of doing some of the odd graphical things that we need to do in the View (e.g. using follow to keep a particular turtle in the center of the View while still respecting the wrapping of the topology).

However, I am currently considering this issue to be of low priority. It definitely should not be included in the 1.0 release. Right now, I think that we should hold off on it, because (a) it is a major change, and (b) I feel that browsers have not been supporting WebGL well for long enough that we can reasonably expect 90+% of our users to be able to run this with correct behavior and without them having to manually enable WebGL. Let's give this one some more time before acting on it.

@ddamelin
Copy link

Have you taken a look at pixijs? http://www.pixijs.com

We used this in our Lab framework and it made a huge difference in being able to run well on tablets and even faster on desktops.

@qiemem
Copy link
Member

qiemem commented Feb 27, 2015

Thanks for the tip! I remember when it first came out and thought it looked cool, but haven't looked into it since. Good to know it's performant!

@SethTisue
Copy link
Contributor

We are using Pixi.js at McGraw-Hill Education as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants