News for hackers. Stuff that matters.
Re:Building a Kickass Portfolio by gumoro on Thursday August 02, 2018 @03:51PM (#17674892)
I was wondering the same, but I thought the number of illustrations would be 7!/2 = 2520, that is, the number of permutations for 7 different elements, divided by 2 because symmetrical sequences generate the same drawing.

Is it incorrect? How do you get "6!" ?

720 custom doodles seems doable, 2520 seems a bit much, so I suspect my reasoning for 7!/2 is wrong :)

Edit : oh, I see how for all closed paths all 7 permutations are the same so we can divide by 7 for closed paths, but there are still the open paths... hmmm (still pondering)

Edit 2 : aaaah, got it, I did not notice he was always closing the path himself... tss that's cheating :)

Re:Building a Kickass Portfolio by Lanzaa on Thursday August 02, 2018 @04:21PM (#17675124)
Yep, in the code there are 360 unique drawing references.

360 = 7!/(2*7)

7! different ways to choose a closed path on the seven nodes. However, it doesn't matter which node you start on, so divide by 7. It also doesn't matter which direction they are chosen in, so divide by 2.

Re:Building a Kickass Portfolio by mendelk on Thursday August 02, 2018 @04:34PM (#17675229)
I believe you're right! Now that I've publicly displayed my ignorance, I discovered this message in the console:

> Curios how its done? We are using paper.js and gatsby.js. Some behind the scenes: http://volligohne.de/projekte/timobecker/. Check out the source code https://github.com/voellig-ohne/timobecker

Sources for drawings: https://github.com/voellig-ohne/timobecker/tree/master/compo...

I can't say that I'm any less impressed that it's "only" 360 drawings :)