Coder Social home page Coder Social logo

andeplane / atomify Goto Github PK

View Code? Open in Web Editor NEW
43.0 4.0 6.0 245.95 MB

Real time molecular dynamics in the browser using LAMMPS

License: GNU General Public License v3.0

Makefile 0.07% C++ 4.49% JavaScript 92.38% HTML 0.08% TypeScript 1.10% CSS 0.42% Python 0.03% Roff 0.10% Jupyter Notebook 1.15% POV-Ray SDL 0.09% Perl 0.08%
atomistic-simulations lammps molecular-dynamics molecular-dynamics-simulation molecular-simulation visualization webassembly webgl

atomify's People

Contributors

andeplane avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

atomify's Issues

Deposit examples are broken

Seems like visualization issues when we have a changing number of atoms. I need to have better testing for this.

A handful of suggestions

Hi,
Sorry for a late response, but recently I have quite a lot of things going on. My ideas are below. I don't know if all of them can be implemented, so I didn't create separate threads. Let me know, if you want me to elaborate on the ideas or bug reports.

Ideas:

  • manual describing Atomify commands (#/camera, #/atom, etc.)

  • orthographic visualization mode

  • add scale bar (or grid) to the visualization window

  • add units to axis titles in plots

  • use a shortcut to change mouse mode, e.g. after clicking "T", mouse pans the view instead of rotating it (similar as in VMD)

  • plots for variables

  • a way of changing simulation parameters from the visualization window, e.g. a slider which would change the target temperature of a thermostat

  • parallel simulations

Bug reports:

  • If you start a simulation, pause it, then click on "New simulation" and write any number in the "Name" field, a popup will appear saying "Setting simulation speed to X."
  • The y-axes of plots have wrong titles, for example a plot for "thermo_temp" is titled "Potential energy"

[Security] Workflow deploy.yaml is using vulnerable action actions/checkout

The workflow deploy.yaml is referencing action actions/checkout using references v1. However this reference is missing the commit a6747255bd19d7a757dbdda8c654a9f84db19839 which may contain fix to the some vulnerability.
The vulnerability fix that is missing by actions version could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider to update the reference to the action.

Switch from texture based color and radius to attribute based

There is a significant performance hit when coloring atoms by property, and the reason for this is that colors currently are being set using textures which is slower than an attribute based coloring method. A caveat here is that since LAMMPS is reordering particle indices, we would have to either detect this, or set all colors every frame, both of which is expensive. Not sure what the best solution is.

Restructure examples so each example has a simulation.json in it

In order to support #50, I want each Simulation to consist of a JSON file with all data. The structure should be the contents of each example in the examples.json file, including inputScript and previewImage.

Then we can better setup for your simulations, where we reuse the file system of JupyterLite so we have one file system in sync.

Wrong axes titles

The y-axes of plots have wrong titles, for example a plot for "thermo_temp" is titled "Potential energy".

Use a shortcut to change mouse mode

Some browsers have mouse gestures which use right mouse button, so a key to change mouse mode from rotating to panning the view would be helpful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.