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
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!
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?