News for hackers. Stuff that matters.
Re:Replacing Photoshop with NSString by aidos on Friday March 20, 2015 @06:47PM (#9241115)
Really cool concept. Well done.

I didn't quite understand how the single points worked. It seemed to me that your definition for, say, 3 single points was the same as a triangle. How does it know which is which? Or do the curves have to be closed?

Re:Replacing Photoshop with NSString by charles_parnot on Friday March 20, 2015 @07:06PM (#9241196)
When you skip a character, you move on to next shape.

So, 1-2-3 5-6-7 = 2 triangles

But 1 3 5 = 3 points

Re:Replacing Photoshop with NSString by aidos on Friday March 20, 2015 @07:28PM (#9241278)
I think I was thrown off by the example which used 1,1,1,1 for the sphere and 2, 3 to represent isolated points. But they're consecutive. Unless I'm missing something?
Re:Replacing Photoshop with NSString by charles_parnot on Friday March 20, 2015 @07:39PM (#9241309)
ah, damn, you're right!
Re:Replacing Photoshop with NSString by charles_parnot on Friday March 20, 2015 @07:42PM (#9241323)
fixed!
Re:Replacing Photoshop with NSString by aidos on Friday March 20, 2015 @08:07PM (#9241384)
Ah ha, now it makes sense. Thanks :-)