-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added pentagons #4
base: master
Are you sure you want to change the base?
Conversation
The automatic now supports three shapes. In addition we created the nslider.js. This is a hack of doubleslider to allow for n sliders. The number of pieces is determined by the number of area's given in the config. The average bored(meh) ratio and average shaking(sad) ratio are now also graphed. (In yellow and blue respectively.) We broke the segregation measure. Insteasd of s = (avg-0.5)*2. It is now s = avg. We did not understand how the computation would change with three shapes, so we used the raw average. As a random side note: the code is beautiful. Easy to read, easy to hack., simple, logical. Thank you.
Is your branch live anywhere? I'd be curious to play with it. |
Yes, it is available as a github page here. |
Thanks! Cool idea. |
Cool, thanks for doing this! We'll definitely link it from the main page Vi On Tue, Dec 9, 2014 at 11:17 AM, Jordan Eldredge [email protected]
|
The main page now links to the Pentagon sandbox! Thank you again so much, @dncnmcdougall! :)
ahahahahahahahahaha good one |
We added pentagons, and displayed more statistics.
We also made the graphs show the average meh'ness of the shapes, and the average sadness.
Part of what was needed to make this work was a trippleslider. We created an nslider, which will automatically transform itself from double- to triple- to four... n- slider depending on the number of inputs. It is probably slightly broken in places.
We did this primarily as a fun exercise.
I am proposing a pull request because Twitter is difficult. Don't pull this. Your code is great as it.
So here is what I wanted to say:
Your code is beautiful.
It is simple to understand and well commented!
We managed to make these hacks in 2 hours because
of the elegant and easy way in which the code is written.
Thank you.