A new approach was presented in this study to simulate a stable atom along with subatomic particles in it. Subatomic particles in an atom are treated as conventional particles, exhibiting attraction and repulsion between them, giving a stable atom simulation. This new approach leads to developing new potentials for subatomic particles to simulate a stable atom. Subatomic particle dynamics (SPD) simulations were developed for within-atom simulations that give a stable atom structure for infinite time and provide many insights into electron trajectories and atom properties like energies and radius of the atom. The effect of protons and neutrons movement in the nucleus on electron trajectories was captured in SPD. Hydrogen and Carbon atom SPD were reported in this study. The Pilot-wave theory was implemented in this study to simulate the wave nature of subatomic particles in an atom. Electrons motion was guided by the interference pattern produced by the electron’s aether medium waves in SPD. SPD was implemented on molecules, resulting in a stable molecular structure giving insights into electron trajectories shared by multiple atoms.