{"action":"created","issue":{"url":"https://api.github.com/repos/davidedc/livecodelab/issues/258","labels_url":"https://api.github.com/repos/davidedc/livecodelab/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/davidedc/livecodelab/issues/258/comments","events_url":"https://api.github.com/repos/davidedc/livecodelab/issues/258/events","html_url":"https://github.com/davidedc/livecodelab/issues/258","id":89946317,"number":258,"title":"Implementing thick lines (and renaming \"stroke\" to skeleton?)","user":{"login":"davidedc","id":769568,"avatar_url":"https://avatars.githubusercontent.com/u/769568?v=3","gravatar_id":"","url":"https://api.github.com/users/davidedc","html_url":"https://github.com/davidedc","followers_url":"https://api.github.com/users/davidedc/followers","following_url":"https://api.github.com/users/davidedc/following{/other_user}","gists_url":"https://api.github.com/users/davidedc/gists{/gist_id}","starred_url":"https://api.github.com/users/davidedc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidedc/subscriptions","organizations_url":"https://api.github.com/users/davidedc/orgs","repos_url":"https://api.github.com/users/davidedc/repos","events_url":"https://api.github.com/users/davidedc/events{/privacy}","received_events_url":"https://api.github.com/users/davidedc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-21T18:54:49Z","updated_at":"2015-06-23T13:33:30Z","closed_at":null,"body":"Lines are problematic - they don't obey scale (or perspective) in regards to their thickness.\r\n\r\nThickness could be set by using strokeSize but\r\n * still it doesn't obey scaling or any type of perspective, i.e. strokeSize is some abstract absolute value\r\n * it doesn't work at all in Windows (I think due to the WebGl/DirectX translation or whatever)\r\n * the line-cap given by graphic cards is *weird*, see this example (it's a flat horizontal cut or flat vertical cut depending on the angle of the line):\r\n * where it works, it doesn't work beyond the magic number 7 (I think because the artifacts above would become too gross)\r\n\r\n```\r\nrotate time\r\nstrokeSize 7\r\nline\r\n```\r\n\r\nSo strokeSize is problematic and scaling lines is problematic. At the same time, changing the current stroke of the primitives to a custom implementation is too difficult (I think).\r\n\r\nThe good news is that we can fix _some_ lines (the ones we create by using \"line\" now) by using some proper geometries to draw them (possibly with nice linecap, depending on some lineCap and lineDetail that we might want to set).\r\n\r\nSo perhaps we should distinguish between \"line\" + \"lineSize\" (which we can fix) and \"skeleton\" + \"skeletonSize\" (which I don't think we can easily fix)... Thoughts?"},"comment":{"url":"https://api.github.com/repos/davidedc/livecodelab/issues/comments/114504519","html_url":"https://github.com/davidedc/livecodelab/issues/258#issuecomment-114504519","issue_url":"https://api.github.com/repos/davidedc/livecodelab/issues/258","id":114504519,"user":{"login":"davidedc","id":769568,"avatar_url":"https://avatars.githubusercontent.com/u/769568?v=3","gravatar_id":"","url":"https://api.github.com/users/davidedc","html_url":"https://github.com/davidedc","followers_url":"https://api.github.com/users/davidedc/followers","following_url":"https://api.github.com/users/davidedc/following{/other_user}","gists_url":"https://api.github.com/users/davidedc/gists{/gist_id}","starred_url":"https://api.github.com/users/davidedc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidedc/subscriptions","organizations_url":"https://api.github.com/users/davidedc/orgs","repos_url":"https://api.github.com/users/davidedc/repos","events_url":"https://api.github.com/users/davidedc/events{/privacy}","received_events_url":"https://api.github.com/users/davidedc/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T13:33:30Z","updated_at":"2015-06-23T13:33:30Z","body":"Edge sounds good but I'm worried about burning such a fundamental graphic keyword. Not that I have plans to use it, but still...\r\n\r\nhow about \"wire\"? Would people get it?"}}