Welcome to XLchem, a molecule rendering program! You start of with a demo of Trinitrotriazine, a high explosive. you can use the arrow keys to rotate it, W and Q to zoom in and out, and E to reset the zoom. Pressing B will toggle the BG color, and R will activate render mode as long as you hold it. Here's carbonic acid, shaped like a fighter ship: HOCOOHZZZZZZ*1-2*2-3*3-4*3-5*5-6*2-7*2-8*4-9*4-10*5-11*5-12* Or the simpler H2O, i.e. water: HOHZZ*1-2*2-3*2-4*2-5* Press space to enter a formula, it will sort the atoms out, gradually get them together, and then stop simulating it. you'll know when it's done when it jumps back to 30fps. Formula format: The format this program expects is as follows: a list of elements, and the links between them. i.e: HOH*1-2*2-3* "*" is used to separate the list of elements present from the links, the links from each other, and to mark the end. Elements go together in any order, in their correct symbol form, without spacing. Links are basically (number of an element)-(the other element), so 2-3 would tell it the second element is linked to the third. Elements will repel each other, unless linked, in which case they get closer until they're touching, no closer. More information on the forums: http://scratch.mit.edu/discuss/topic/55630/?page=1#post-469340
Initial release, check the forums for more details: http://scratch.mit.edu/discuss/topic/55630/?page=1#post-469340 First featured project!!! :D Updates: -CPK coloring, slightly adjusted so they get shaded well. Known glitches: -blinking circles: to be fixed, not rounding position due to choppiness. -carbon followed by lithium results in chlorine since iodine isn't added yet, otherwise it would result in Cl-I instead of C-Li can't be fixed, since lists can't tell apart uppercase, so just be careful in what order you place them. ;)