-
Notifications
You must be signed in to change notification settings - Fork 53
astro_demos #400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
christosneg
wants to merge
8
commits into
BioDynaMo:master
Choose a base branch
from
christosneg:astro_demos
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
astro_demos #400
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This commit introduces a new demo that includes: - A custom agent class `CelestialObject` to represent astrophysical objects such as stars, planets, and satellites. - A custom behavior class `Gravity` to simulate gravitational forces and their effects on celestial objects. - A simple demonstration `NewtonsLawTest` to validate the interaction between agents and gravitational physics. The purpose of this demo is to: - Demonstrate the creation of custom agents and behaviors in BioDynaMo. - Highlight the platform's ability to simulate environments beyond its original design.
This commit introduces a second demo featuring Mars and its two satellites, Phobos and Deimos, modeled as agents influenced by the Gravity behavior.
Hi @christosneg, thank you for the update, this is very interesting! I will add this item to be discussed at the next BioDynaMo work meeting, and we will be in touch. |
This demo introduces the ability to read data from a .txt file to create a simulation of the solar system, including the Sun, its eight planets, and Pluto as agents influenced by gravity.
for mars and solar_system demos
048bd37
to
b27c37e
Compare
b27c37e
to
0865393
Compare
…ing changes 1) converted the units from Mega meters to Giga meters 2) The diameter of each agent was set relatively to earth instead of their actual size. This change will only affect the visualization of the simulation and not its accuracy.
1) removed Star subclass from mars demo 2) removed Satellite subclass from solar_system demo 3) removed all subclasses from newtons_law_test demo
instead of Agent class.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Celestial Environment Demos for BioDynaMo
I created three simple demos that showcase custom-made agents and behaviors, centered on the theme of celestial environments.
Purpose
Inspiration for Users:
These demos demonstrate BioDynaMo's flexibility and aim to inspire users to explore creative applications.
Learning Resource:
They offer clear and straightforward examples for new users, illustrating how to create custom Agents and Behaviors within the platform.
Demo Descriptions
newtons_law_test
Features a basic simulation showcasing newly created agents and behaviors.
mars
A model that includes Mars and its moons, Phobos and Deimos.
solar_system
A solar system model with the Sun, all planets, and Pluto.
Update
I added a Python script that compares the simulations' output with real world data
Although the base repository is set to 'master,' I request that a new branch is created for these additions.