GSDEMO: Molecular Lattice Visualizer

44 views
Skip to first unread message

Max DeMarr

unread,
Jan 7, 2025, 7:07:26 PMJan 7
to Glowscript Users

Hello all,

I've written a neat program that visualizes vibrations in various lattice structures. There are many interesting features users can tweak to modify the lattice generation. My algorithms use a scalable, random/dynamic breadth-first search or depth-first search when visiting the next node of the lattice to be added. The vibrational propagation of energy is calculated using a traditional spring-model of atoms. I have pre-designed several lattice types that can be selected from, and I’d love to implement more if anyone has ideas. Lastly, I’m uncertain about the accuracy of the name "Triangular 3D" for one of the models. I couldn’t easily find reliable information online, so if anyone knows the correct terminology, I would appreciate your input.

Additionally, users can left-click and drag an atom to move it around, adding an interactive element to the visualization. However, I realize that some instructions regarding the reloading of the lattice model might be unclear. Specifically, the steps to reset or regenerate the lattice could use more clarity. If anyone finds these instructions confusing, I’d appreciate recommendations for making them clearer and more user-friendly.


Thanks a million,
- Maximillian

Bruce Sherwood

unread,
Jan 9, 2025, 12:33:34 AMJan 9
to Glowscript Users

Zeger Hendrikse

unread,
Jan 16, 2025, 8:53:34 AMJan 16
to Glowscript Users
Nice clean code. Not all physicists are equally skilled programmers, so looking at your code was a pleasant surprise!

Op woensdag 8 januari 2025 om 01:07:26 UTC+1 schreef Max DeMarr:
Reply all
Reply to author
Forward
0 new messages