{"id":2210,"date":"2022-08-30T15:22:58","date_gmt":"2022-08-30T15:22:58","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/04\/what-are-the-limitations-of-webgl-and-canvas-for-html5-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:22:58","modified_gmt":"2022-08-30T15:22:58","slug":"what-are-the-limitations-of-webgl-and-canvas-for-html5-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/what-are-the-limitations-of-webgl-and-canvas-for-html5-collection-of-common-programming-errors\/","title":{"rendered":"What are the limitations of WebGL and Canvas for html5?-Collection of common programming errors"},"content":{"rendered":"<p>If I wanted to make a simulated boids experiment in either of the technologies, what limitations would I be under.<\/p>\n<p>For example I have a boids simulation working in canvas with 100,000 particles but I am unable to work with a million as the browser crashes. This may be possible in WebGL with hardware acceleration.<\/p>\n<p>So what limitations do these 2 technologies have with complex scenes?<\/p>\n<ol>\n<li>\n<p>The limitations of the graphics card apply to WebGL as well of course, there is little a browser can do to compensate those. For example, I noticed that WebGL samples with the texture size 4000&#215;4000 don&#8217;t work with my (on-board) graphics chip. Animating a large number of objects will likely overburden low-end graphics cards as well.<\/p>\n<\/li>\n<\/ol>\n<p id=\"rop\"><small>Originally posted 2014-01-04 14:19:33. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>If I wanted to make a simulated boids experiment in either of the technologies, what limitations would I be under. For example I have a boids simulation working in canvas with 100,000 particles but I am unable to work with a million as the browser crashes. This may be possible in WebGL with hardware acceleration. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2210","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2210"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2210\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}