Activity

grumpymarie

small css fixes, and replaced filler text with description

Attachment
0
grumpymarie

IM DONE WITH ANIMATIONSSSS

0
grumpymarie

made satellite mode

0
grumpymarie

UGH OKIE
WE HAVE SMTHING
tHIS WAS SM EASIER THAN NBODY

Attachment
Attachment
0
grumpymarie

wrote index.html
fixed font issues in nbody.html
ig did smthing on the css
will update later

0
grumpymarie

will write this properly. I promise. rn I need to lock innn

Attachment
0
grumpymarie

kinda in flow state so will update later alr???

0
grumpymarie

𝐀𝐝𝐝𝐞𝐝 𝐑𝐊4 𝐢𝐧𝐭𝐞𝐠𝐫𝐚𝐭𝐢𝐨𝐧 𝐚𝐧𝐝 𝐜𝐚𝐦𝐞𝐫𝐚 𝐜𝐨𝐧𝐭𝐫𝐨𝐥𝐬!!
‎‎‎‎

  • Euler was causing energy drift so added replaced with fixed step RK4.
  • getDerivs() temporarily overwrites positions so accel() can be evaluated at intermediate stages, then it restores them. (this took me so long to figure out… the bodies were teleporting because I forgot to restore.)
  • you couldnt see outer planets before, so I added cursor anchored zoom and pan
    ‎‎
    so now…, you can see all the planets (and bodies in the future) cuz I added zoom and pan.
    orbits are now stable long term!!
    ‎‎‎
    TODO:
  • add gravitational softening
  • add new bodies on click
  • add trails behind bodies
Attachment
Attachment
0
grumpymarie

WE NOW HAVE 5 BODIES!!! AND THEY MOSTLY OBEY THE LAWS OF PHYSICS!!

  • added Sun, Mercury, Venus, Mars and Earth.
  • labeled bodies
  • gravity calculated b.w every pair of bodies
  • set G = 4π², stable orbits.
  • added integration using Euler method, so velocity and position update by (dt).
  • real time to sim. time scaling (1 sec = 0.05yrs in sim. time)
  • background changes (stars)
  • sim. time in corner

    basically we got more planets, stable orbits, with gravity working for multiple bodies anddd speeds look realistic relative to each planet.

    TODO:
  • SWITCH TO BETTER INTEGRATION METHOD FOR ENERGY STABILITY (RK4??)
  • add trails behind bodies (so basically orbital trails)
  • update and add back the navbar that I removed in this version

    ramblings..
    I have a rough idea on how to add the bodies (like the user adds the bodies… the acutal point of this sim) , at least the research is done. ive also kinda figured out how to implement binary stars so… idk. anyway lot left to do but in theory, at least, I know what to do!!
Attachment
0
grumpymarie

ᴍᴀᴅᴇ ʙʟᴜᴇ ᴅᴏᴛ ɢᴏ ᴡʜᴇᴇᴇᴇ ᴀʀᴏᴜɴᴅ ʏᴇʟʟᴏᴡ ᴅᴏᴛ‎‎‎‎
‎‎‎‎‎‎‎‎‎‎‎‎
set up canvas and render loop now works!!
then added two bodies:

  • sun in the middle
  • small blue body orbiting it with sideways velocity.
Attachment
0
grumpymarie
  • added duty cycling so once duties are added once they auto-cycle every month (took very long to figure out!! bugs everywhere!!)
  • you can now change the colours, fixed the really bad tailwind config (these ones look trash)
  • ready to shippp!!!
Attachment
Attachment
Attachment
Attachment
Attachment
Attachment
Attachment
0
grumpymarie
  • made minor css changes to fix colour palette (changed black text to white)
  • (bug fix) updated models.py for the duty_roster model so as to not show overdue duties anymore
  • shifted from css to tailwind
  • added code verification for password change and email notifications for meetings, duty timings, new announcements.
  • fixed css for dark mode
Attachment
Attachment
Attachment
0