{"action":"created","issue":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/7053","labels_url":"https://api.github.com/repos/mrdoob/three.js/issues/7053/labels{/name}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/7053/comments","events_url":"https://api.github.com/repos/mrdoob/three.js/issues/7053/events","html_url":"https://github.com/mrdoob/three.js/issues/7053","id":103315325,"number":7053,"title":"Reogranization of examples into topic folders for more scalability/usability","user":{"login":"bhouston","id":588541,"avatar_url":"https://avatars.githubusercontent.com/u/588541?v=3","gravatar_id":"","url":"https://api.github.com/users/bhouston","html_url":"https://github.com/bhouston","followers_url":"https://api.github.com/users/bhouston/followers","following_url":"https://api.github.com/users/bhouston/following{/other_user}","gists_url":"https://api.github.com/users/bhouston/gists{/gist_id}","starred_url":"https://api.github.com/users/bhouston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhouston/subscriptions","organizations_url":"https://api.github.com/users/bhouston/orgs","repos_url":"https://api.github.com/users/bhouston/repos","events_url":"https://api.github.com/users/bhouston/events{/privacy}","received_events_url":"https://api.github.com/users/bhouston/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-26T16:38:56Z","updated_at":"2015-08-29T17:56:38Z","closed_at":null,"body":"I'm having a hard time navigating through the ton of ThreeJS examples.  That is amazing there is so many examples, but maybe we can introduced a hierarchical folder structure to make it a bit more manageable?\r\n\r\nSometime like:\r\n\r\n```\r\nexamples\r\n  \\canvas\r\n  \\cpu\r\n  \\css3d\r\n  \\misc\r\n  \\raytracing\r\n  \\software\r\n  \\svg\r\n  \\vr\r\n  \\webgl\r\n    \\animation\r\n    \\buffergeometry\r\n    \\camera\r\n    \\custom_attributes\r\n    \\effects\r\n    \\geometry\r\n    \\interactive\r\n    \\lights\r\n    \\lines\r\n    \\loader\r\n    \\materials\r\n    \\morph\r\n    \\particles\r\n    \\performance\r\n    \\postprocessing\r\n    \\shader\r\n    \\shadow\r\n  \\webgldeferred\r\n```\r\n\r\nI'm proposing that in the directory tree we only create subdirectories when there is more than 2 items that can go in that folder.  This prevents the creation of a lot of folder clutter.\r\n\r\nOne could rename the example HTML files to not include the folder names - this would shorten up the filenames as well.  Thus if an example is the folder \"webgl/postprocessing\" it could just be called \"glitch.html\" as repeating the folder names in the filename is just unnecessary repetition.\r\n\r\nI'd have to update the TOC auto-generator as well, but I think it should be easy.\r\n\r\nThis will result in broken links in Google to the threejs.org previous example urls, although it may be possible for the previous hash-based bookmarks on the TOC to still work.\r\n\r\nLet me know if this is of interest."},"comment":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/136019183","html_url":"https://github.com/mrdoob/three.js/issues/7053#issuecomment-136019183","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/7053","id":136019183,"user":{"login":"WestLangley","id":1000017,"avatar_url":"https://avatars.githubusercontent.com/u/1000017?v=3","gravatar_id":"","url":"https://api.github.com/users/WestLangley","html_url":"https://github.com/WestLangley","followers_url":"https://api.github.com/users/WestLangley/followers","following_url":"https://api.github.com/users/WestLangley/following{/other_user}","gists_url":"https://api.github.com/users/WestLangley/gists{/gist_id}","starred_url":"https://api.github.com/users/WestLangley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WestLangley/subscriptions","organizations_url":"https://api.github.com/users/WestLangley/orgs","repos_url":"https://api.github.com/users/WestLangley/repos","events_url":"https://api.github.com/users/WestLangley/events{/privacy}","received_events_url":"https://api.github.com/users/WestLangley/received_events","type":"User","site_admin":false},"created_at":"2015-08-29T17:56:38Z","updated_at":"2015-08-29T17:56:38Z","body":"> I'm having a hard time navigating through the ton of ThreeJS examples.\r\n\r\nWhat is the problem, exactly?\r\n\r\n> This will result in broken links in Google to the threejs.org previous example urls\r\n\r\nAnd the many stackoverflow backlinks, too.\r\n\r\n> define and agree on a list of renames\r\n\r\nThe three.js examples often demonstrate multiple features or techniques. How do you determine the folder into which a particular example should be placed?\r\n\r\n    webgl_octree_raycasting.html\r\n    webgl_interactive_raycasting_pointcloud.html\r\n    webgl_geometry_terrain_raycast.html\r\n\r\n"}}