×
Login Register an account
Top Submissions Explore Upgoat Search Random Subverse Random Post Colorize! Site Rules
8

Raytracing the April 8th, 2024 solar eclipse

submitted by chrimony to FlattardClassroom 1 weekApr 24, 2024 14:25:36 ago (+10/-2)     (files.catbox.moe)

https://files.catbox.moe/wnycnh.mp4

Inspired by: Simulating the solar system with 70 lines of Python code

and: Introduction to raytracing

I modified the code from the above article to raytrace the solar eclipse by simulating the motion of Earth/Moon/Sun system, and casting light from the Sun onto the Earth.

Inputs to program:
o Position, velocity, mass, and radius of E/M/S on April 8th, 14:00 UTC.
o Rotation rate of Earth.
o Axial tilt of Earth.
o Date and time of Spring Equinox.
o Force = mass x acceleration
o Force = Gravity-constant x mass1 x mass2 / radius^2
o "Blue Marble" map from https://ian.macky.net/pat/bmarbl/index.html

Start position and velocity data was from: https://ssd.jpl.nasa.gov/horizons/

After initialization, position and velocity data was updated every second for 9 hours using the above Newton force laws. Images were recorded once a minute. Final video was compiled at 60 frames per second, yielding one hour of real time per second of video.

You can compare the raytraced path with this version: https://nso.edu/for-public/eclipse-map-2024/


10 comments block


[ - ] NoRefunds 4 points 1 weekApr 24, 2024 16:13:18 ago (+4/-0)

wow actual nasa footage

[ - ] chrimony [op] 3 points 1 weekApr 24, 2024 16:14:31 ago (+3/-0)

F = ma and raytracing, flattard.

[ - ] NoRefunds 2 points 1 weekApr 24, 2024 16:16:32 ago (+2/-0)

[ - ] chrimony [op] 0 points 1 weekApr 24, 2024 17:21:31 ago (+1/-1)

That's because F=ma predicts reality. Flattards predict nothing.

[ - ] NoRefunds 3 points 1 weekApr 24, 2024 17:44:51 ago (+3/-0)

I predict you believe anything the kike government tells you

[ - ] chrimony [op] 0 points 1 weekApr 24, 2024 17:48:40 ago (+0/-0)

No, that's your logic, except the opposite. You just think everything the government says is a lie, regardless of evidence.

I believe or disbelieve based on evidence and reason. Because I'm not a moron, I can verify that F=ma, can see that White people have done great things, and hence don't need to act like a knuckle-dragging, feces throwing monkey.

[ - ] NoRefunds 3 points 1 weekApr 24, 2024 17:49:50 ago (+3/-0)

Ok moron, tell me that official nasa photo in the space.com link is a real picture.

[ - ] chrimony [op] -2 points 1 weekApr 24, 2024 17:56:59 ago (+0/-2)

It is. I have no reason to believe otherwise. You 'tards just assume White men can't launch rockets into space, because you're too dumb to imagine doing great things. You've built your entire worldview around that mentality.

[ - ] NoRefunds 0 points 1 weekApr 25, 2024 01:02:00 ago (+0/-0)

It is

That's all you need to know. You swollow the cgi so deeply, like kike dicks.

Werner von Braun said it was impossible to go the moon, you dickless moron. He was also a flat earther, so kys you kike worshipping double nigger. Same with Neil Armstrong.

[ - ] chrimony [op] 0 points 1 weekApr 25, 2024 01:16:40 ago (+0/-0)

That's all you need to know.

All we need to know is you're too stupid to imagine White men launching rockets into space, so you have to throw feces like a stupid monkey. You have no evidence than it's fake other than you're own perpetual disbelief in anything space-related.

Werner von Braun said it was impossible to go the moon

Weird, then, how he worked on the Apollo program to go to the moon, and had advocated a program to go to Mars. You're absolutely retarded.