DEMO
Please clone the following repository and open the 'dev.html' file if online link doesn't work.
https://github.com/amitlzkpa/mendel
Inspiration
The project is part of a design community for people to use code to create furniture design. It's called O-LAP
What it does
The design is a script that accepts inputs from users and uses an internal algorithm to create vector drawings which can be used to make the design from plywood. The fabricated pieces interlock into each other and can be assembled easily.
How I built it
It is made as a plugin into the O-LAP project.
Design is written in JavaScript and uses threeJS for rendering.
I used Wolfram Alpha's polynomial graphing service for some math operations.
genomelink.io provided me the genetic analysis data. I setup two other services to work with the API and make data available to the design.
https://genomedb.herokuapp.com
https://olap-genomelink.herokuapp.com
Challenges I ran into
The code was previously synchronous. To make it work with the API I had to make it asynchronous.
Accomplishments that I'm proud of
It was fun to think of how to translate data into design. The design article explains this is detail.
Some design sketches from the article.


What I learned
There were some very interesting insights I could pick up which is interesting to be thought of as design parameters.
What's next for Mendel
It is just the first draft of the design. It needs more refinement. It might be interesting to explore using genetic datasets from larger groups of people with common physical traits to make design inferences.
Log in or sign up for Devpost to join the conversation.