News for hackers. Stuff that matters.
Re:Show HN: I Design with Code by tarr11 on Tuesday July 05, 2016 @09:45AM (#12036360)
Yeah, I don't see how this kind of code is helpful for design (taken from the codepen).

  mainLineMask[0].getAttribute('d'),
    mainLine2MaskPath = "M148,122.5c82.2-71.6,377,53.3,504,0C766.5,189.5,65.8,194.1,148,122.5z",
    mainLine3Path = "M148,122.1c152.9,62.6,377,56.4,504,0",
    mainLine3MaskPath = "M148,122.5c152.9,63.6,377,53.3,504,0C766.5,189.5,65.8,194.1,148,122.5z",
    mainLine4Path = "M148,122.1c152.9,62.6,377-83.1,504,0",
    mainLine4MaskPath = "M148,122.5c152.9,63.6,377-84.7,504,0C766.5,189.5,65.8,194.1,148,122.5z",
Re:Show HN: I Design with Code by chrisgannon on Wednesday July 06, 2016 @04:41AM (#12041915)
We clearly see design differently then. These lines of code are curved shapes that the bezier line will morph to.

Remember, just because you 'don't see how this kind of code is helpful for design' it doesn't mean that other people share your view. We all see things differently - a good thing to remember especially in these times.

Re:Show HN: I Design with Code by tarr11 on Wednesday July 06, 2016 @09:45PM (#12047016)
I understand that, and as a developer, I'm used to working with stuff like this.

However, without some sort of interactive IDE, this just feels like magic numbers. The code itself, as written, is not enough to help you visualize what you are producing.

Re:Show HN: I Design with Code by brainary on Tuesday July 05, 2016 @09:53AM (#12036415)
Likely made using another piece of code.

It's code all the way down.