K
K
Ksenia2016-03-18 20:50:45
css
Ksenia, 2016-03-18 20:50:45

How to draw a molecule on canvas?

I have never come across canvas before. It is necessary to draw a model of a molecule, that is, spheres and sticks between them in a certain order. This order is supposed to be specified in some coordinate form. The important thing is that the model must be voluminous so that it can be twisted.
While I was looking for solutions, I found paper.js, which seems to be helping me with this task, but there is practically no information in Russian, and it’s scary and incomprehensible to immediately plunge into an unfamiliar topic in a non-native language. Maybe someone will have useful tips and links to help in drawing =)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sokolov, 2016-03-18
@Grend

It was easy to find a ready-made designer. Want an MDMA molecule ? =)
upd. “I will read the comments before posting an answer. I will read the comments before posting an answer. »
upd.2 picked up from comments: WebGL library for rendering molecules.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question