{"id":78,"date":"2006-08-05T01:04:01","date_gmt":"2006-08-05T09:04:01","guid":{"rendered":"http:\/\/www.otherthings.com\/grafarc\/blog2\/?p=78"},"modified":"2006-08-05T01:04:01","modified_gmt":"2006-08-05T09:04:01","slug":"coping-with-too-many-layers","status":"publish","type":"post","link":"http:\/\/grafarc.org\/news\/2006\/08\/coping-with-too-many-layers\/","title":{"rendered":"Coping with Too Many Layers"},"content":{"rendered":"<p>Some of the walls are starting to get pretty thick.  Cove\/eastZ, for example, is already clocking in at 34 layers, and that&#8217;s only in the range from September 2004 to February 2006.  I have another dozen or so layers still to add before I can bring that wall up to date.   This is great for the project, but not so good for the user experience.<\/p>\n<p>The problem is that Flash starts to really bog down and get slow when you have too many objects visible on the screen at one time.  So I made a quick little alteration to the code: now it only shows you at most 20 layers at once (15 if you&#8217;re viewing the low-res version).  The overall effect should be pretty seamless: you might notice a few little corners disappearing from the very bottom of the stack, but it shouldn&#8217;t interfere with the experience.  If you&#8217;re curious exactly which images are currently visible, direct your attention down to the timeline: invisible layers have their timeline icons dimmed, whereas the visible ones are bright white.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"layer_limits.jpg\" src=\"http:\/\/www.otherthings.com\/grafarc\/blog\/images\/layer_limits.jpg\" width=\"400\" height=\"119\" \/><br \/>\n<i><font size=-2>Timeline example: only layers 17 and up are visible.<\/font><\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some of the walls are starting to get pretty thick. Cove\/eastZ, for example, is already clocking in at 34 layers, and that&#8217;s only in the range from September 2004 to February 2006. I have another dozen or so layers still to add before I can bring that wall up to date. This is great for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-78","post","type-post","status-publish","format-standard","hentry","category-site-updates"],"_links":{"self":[{"href":"http:\/\/grafarc.org\/news\/wp-json\/wp\/v2\/posts\/78","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/grafarc.org\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/grafarc.org\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/grafarc.org\/news\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/grafarc.org\/news\/wp-json\/wp\/v2\/comments?post=78"}],"version-history":[{"count":0,"href":"http:\/\/grafarc.org\/news\/wp-json\/wp\/v2\/posts\/78\/revisions"}],"wp:attachment":[{"href":"http:\/\/grafarc.org\/news\/wp-json\/wp\/v2\/media?parent=78"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/grafarc.org\/news\/wp-json\/wp\/v2\/categories?post=78"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/grafarc.org\/news\/wp-json\/wp\/v2\/tags?post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}