{"action":"created","issue":{"url":"https://api.github.com/repos/evil-mad/robopaint/issues/241","labels_url":"https://api.github.com/repos/evil-mad/robopaint/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/evil-mad/robopaint/issues/241/comments","events_url":"https://api.github.com/repos/evil-mad/robopaint/issues/241/events","html_url":"https://github.com/evil-mad/robopaint/issues/241","id":117034743,"number":241,"title":"Stipple Gen Mode","user":{"login":"techninja","id":320747,"avatar_url":"https://avatars.githubusercontent.com/u/320747?v=3","gravatar_id":"","url":"https://api.github.com/users/techninja","html_url":"https://github.com/techninja","followers_url":"https://api.github.com/users/techninja/followers","following_url":"https://api.github.com/users/techninja/following{/other_user}","gists_url":"https://api.github.com/users/techninja/gists{/gist_id}","starred_url":"https://api.github.com/users/techninja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techninja/subscriptions","organizations_url":"https://api.github.com/users/techninja/orgs","repos_url":"https://api.github.com/users/techninja/repos","events_url":"https://api.github.com/users/techninja/events{/privacy}","received_events_url":"https://api.github.com/users/techninja/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-16T01:37:39Z","updated_at":"2015-11-18T17:39:54Z","closed_at":null,"body":"For official review: Next Beta1 build will include this awesome new mode.\r\n\r\n![robopaint _028](https://cloud.githubusercontent.com/assets/320747/11172615/1458cdde-8bbf-11e5-826a-20a839ef4a7e.png)\r\n\r\n@oskay Did you want anything else/something specific in this?\r\n\r\nCurrently includes:\r\n * Web format image import\r\n * Conversion to correct format\r\n * Stipples from 50 to 20k\r\n * Most images generate in less than a second, can be more accurate but take more time.\r\n * Export as SVG file directly\r\n * Save into shared SVG area\r\n * Color/BW\r\n * Overlap On/Off\r\n"},"comment":{"url":"https://api.github.com/repos/evil-mad/robopaint/issues/comments/157793567","html_url":"https://github.com/evil-mad/robopaint/issues/241#issuecomment-157793567","issue_url":"https://api.github.com/repos/evil-mad/robopaint/issues/241","id":157793567,"user":{"login":"techninja","id":320747,"avatar_url":"https://avatars.githubusercontent.com/u/320747?v=3","gravatar_id":"","url":"https://api.github.com/users/techninja","html_url":"https://github.com/techninja","followers_url":"https://api.github.com/users/techninja/followers","following_url":"https://api.github.com/users/techninja/following{/other_user}","gists_url":"https://api.github.com/users/techninja/gists{/gist_id}","starred_url":"https://api.github.com/users/techninja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techninja/subscriptions","organizations_url":"https://api.github.com/users/techninja/orgs","repos_url":"https://api.github.com/users/techninja/repos","events_url":"https://api.github.com/users/techninja/events{/privacy}","received_events_url":"https://api.github.com/users/techninja/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T17:39:54Z","updated_at":"2015-11-18T17:39:54Z","body":"Progress report:\r\nI said I'd get this done this week, and I'm trying to hold to that. Here's what I've encountered.\r\n * Stock path tracing totally sucks when it comes to doing thousands of circles.\r\n * Loading thousands of circles in from SVG is killer to Paper.js (slows everything down, blocks input when loading, etc).\r\n  * I've made a brand new tracer that actually takes the SVG data directly and turns it into a set of x/y points and a radius & color, I then use this to render only whats needed, the bare minimum number of points to move to make a mark for very small circles (4 cardinal points).\r\n  * I have to build this out to have higher resolution support, but for now I'm concentrating on lots of small points. This is about 100x faster and very user friendly.\r\n * Attempted a full run high quality (10k stipples) of Adam Savage's face with the above improvements results in very fast recreation of points into directly ready \"machine action\" shapes, but now shows that path reordering is not quite fast enough to to be imperceptible with > 5k paths (Took about 10-15sec of locked up UI with >10k paths). \r\n  * Instruction count ended up being around 90k, and sending took about 40 minutes, fairly unacceptable considering if you're drawing with a pen, it's going to be dried out by the time it starts.\r\n  * Though the actual shape being drawn is a closed diamond, this is completely imperceptible from a circle with a 2mm pen (will experiment with 0.3mm pen).\r\n  * You MUST draw with a slow speed. There are so many instructions right next to each other, this is basically a hard requirement. My test concludes that possible near maximum for lots of tiny stipples is 36% while up, 14% while down. In the future this may become automatic via dynamic speed based on distance with ramp up/down\r\n  * Final drawing is a failure for unknown cause. Important dots are missing, either the machine skipped and drew them lower, or they didn't get sent. I left the room and didn't see.\r\n\r\nLooks like my list remains clearly:\r\n 0. Streamline/comb instructions into cncserver so we can start sooner, or make sure that executing instructions is not interrupted by receiving instructions. This will effect all parts of RP and CNCServer and will reap incredible benefits everywhere if executed correctly.\r\n 0. Improve circle rendering resolution based on radius, and lower it for very _very_ small circles to a triangle (I don't think we can rely on simply lowering and raising the pen to make a dot). \r\n 0. Make a full 20k stipple test, and test with brushes on large stipple color drawing.\r\n\r\nI'm thinking I'm going to miss my deadline :P"}}