{"id":23646445,"url":"https://github.com/francescogabbrielli/3dtorusapplet","last_synced_at":"2025-11-11T23:30:18.378Z","repository":{"id":120467218,"uuid":"118993394","full_name":"francescogabbrielli/3DTorusApplet","owner":"francescogabbrielli","description":"This applet is a simple three-dimensional simulation of a Lennard-Jones liquid. ","archived":false,"fork":false,"pushed_at":"2022-12-11T00:12:23.000Z","size":390,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T13:35:38.096Z","etag":null,"topics":["3d","physics-simulation","swing-components"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/francescogabbrielli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-26T02:12:58.000Z","updated_at":"2022-12-04T03:05:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"3d45c916-c8d1-4583-aad3-68be6a8dd8c6","html_url":"https://github.com/francescogabbrielli/3DTorusApplet","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francescogabbrielli%2F3DTorusApplet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francescogabbrielli%2F3DTorusApplet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francescogabbrielli%2F3DTorusApplet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francescogabbrielli%2F3DTorusApplet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/francescogabbrielli","download_url":"https://codeload.github.com/francescogabbrielli/3DTorusApplet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239593315,"owners_count":19664934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d","physics-simulation","swing-components"],"created_at":"2024-12-28T13:34:53.260Z","updated_at":"2025-11-11T23:30:18.302Z","avatar_url":"https://github.com/francescogabbrielli.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 3DTorusApplet\nThis (standalone) applet is a simple three-dimensional simulation of a Lennard-Jones liquid. \n\n![Screenshot](torusapplet.png)\n\n## Intro: GUI interface\nThe atoms are initially set up on a square lattice, and given inital velocities to correspond to 150 degrees K. The timestep is 0.01 pico-seconds. To start the simulation, simply press the start button. The boundary conditions are periodic.\n\nTo the right of the atomic display are several settings that you can control. The top checkbox controls velocity scaling . When this is on, it basically forces the simulation to stay near a particular temperature, by rescaling the velocities every few timesteps.\n\nImmediately below the velocity scaling checkbox is a slider which controls the temperature to which the velocites should be scaled. Note that this is only effective when velocity scaling is on!\n\nImmediately below the applied temperature slider is a slider which controls the density. When this is adjusted the simulation is stopped, resized to correspond to the selected density, and started again. This has no visual effect on the atoms on the screen, but if you check the size indicator below, you will see that the size of the edge of the box has increased or decreased depending on your selection.\n\nIn the middle of the applet are three buttons, \"start\", \"stop\", and \"reset.\" Clicking on the \"start\" button will begin the simulation. The simulation will run until you click either the stop, or reset button. The reset button re-initializes the atoms to the square lattice, and gives them new random initial velocities.\n\nBelow the start, stop and reset buttons are several checkboxes. Clicking on any one of them will bring up a corresponding display panel directly below them. When you first start the simulation you should see the energy panel. Each panel will allow you to visually monitor different aspects of the simulation. There are four different panels, the RDF panel, the energy panel, the temperature panel, and the potential panel. Click on any of these names for more information on how each panel works.\n\nClicking on the start button should start the simulation. You should be able to see the atoms moving around within the simulation box. Play around with the settings of applied temperature, and density and observe the changes in the various measurements shown in each panel. You also have the ability to change the potential in the potential panel.\n\n## Command Line\nThe application can be run from command line and controlled with the following arguments.\n\n    java -jar torusapplet-vX.Y.Z.jar [options]\n\nOptions:\n\n                     -n \u003cnr\u003e       atoms number (default is 20)\n            -t \u003ctemperature\u003e       applied temperature (default is 150)\n                -d \u003cdensity\u003e       density (default is calculated on atoms number)\n                 --time \u003cms\u003e       simulation time in milliseconds (default is 1000ms)\n    --translate \u003ctrue/false\u003e       translate to origin (default is false)\n        --transform \u003cmatrix\u003e       transform (default is 5.3 0 0 0 5.3 0 0 0 5.3)\n                  -h, --help       this help message","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancescogabbrielli%2F3dtorusapplet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrancescogabbrielli%2F3dtorusapplet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancescogabbrielli%2F3dtorusapplet/lists"}