Skip to content
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

Chart Intro Screen development checklist #61

Closed
5 tasks done
Luisav1 opened this issue Oct 28, 2022 · 2 comments
Closed
5 tasks done

Chart Intro Screen development checklist #61

Luisav1 opened this issue Oct 28, 2022 · 2 comments

Comments

@Luisav1
Copy link
Contributor

Luisav1 commented Oct 28, 2022

Generalize DragEndedListener

  • create function to check a particle is within a square area and pass boolean back to listener

Periodic Table

  • colors to match between "highlight cell" and periodic table cell

Stable nodes

  • Energy label
  • shell model title
  • dotted lines on atom
@Luisav1
Copy link
Contributor Author

Luisav1 commented Nov 1, 2022

Mini particle atom and energy levels

  • the mini nucleus is the ParticleAtom
  • the energy level represent the pseudo particle atom
  • send particles in, don't add to ParticleAtom.
  • send particles in to ParticleAtom with BANScreenView.addNucleonImmediatelyToAtom()
  • create parallel array of protons and neutrons that would hold pseudo particles
    • link to ParticleAtom so any change in energy levels reflected in ParticleAtom
  • energy play area level node determines:
    • capture area
    • nucleon placement
    • holds pseudo particle nodes

Steps:

  • energy level node to define capture area
    • energy levels model (keeps track of particles and levels they're at - one model for each protons/neutrons)
      • y = 0 (lower level) , 1, 2 (higher level)
      • at y=0, x = 2, 3 ; y = 1 x = 0 - 5, y = 2, x = 0 -5
    • energy levels view ( each node grabs position info from model)
  • define nucleon placement and define array of parallel protons and neutrons
  • set ParticleAtom as mini nucleus

@zepumph
Copy link
Member

zepumph commented Jul 6, 2023

Everything in #61 (comment) has been completed over in #46. Remaining work for this screen will be done in above side issues. Closing

@zepumph zepumph closed this as completed Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants