1,503 karma · joined Sep 4, 2024 (2y ago) · 85 submissions
https://github.com/dahlend/kete
Previously worked in quantum computing in both hardware (transmons) and writing compilers.
comment 4d ago · link · parent
If you want a flashy example of an orbit you can show off, go grab comet P/2023 V2, it had a close encounter with saturn back in 2018 and does some crazy moves: https://dahlend.github.io/ketev/#t=2018-02-08.6163&sel=P/202...
How does this compare to something like universe sandbox? https://store.steampowered.com/app/230290/Universe_Sandbox/
comment 5d ago · link · parent
I know, if it aint broke... but it feels like something has been lost if we are using code that no one alive knows what it is doing. I suppose that is the AI future.
comment 1w ago · link · parent
Ah yeah hifitime, I tried it out but its internal representation doesn't work well for my long term simulations, the integer representation ends up increasing the numerical noise in my simulations when I do really sensitive long term ones.
comment 1w ago · link · parent
Time is such a pain, I write code for simulating orbits of asteroids/stuff in the solar system, and time and time conversions play a major roll in it. I often need accuracy at the mega-year to giga-year scales, but also sometimes micro-second relative.
I saw on this page that you at least mention TAI time, how are you handling time scales in general? Like would it be hard to add some other timescales like UT1?
Right now I have to do all of this manually and I have been using chrono as just a convenience wrapper so that my users can convert ISO time strings into my internal representation.
Edit: Oh no! I just found out chrono is being semi-deprecated, looks like I'm going to be switching...
comment 1w ago · link · parent
Here is a fun comet orbit for you: https://dahlend.github.io/ketev/#t=2018-02-08.9717&sel=P/202...
This guy had a close encounter with saturn in 2018 and his orbit dramatically changed. At the time he was likely a very cold object that had frozen volatile material (usually water and CO/CO2), The PANSTARRS telescope found him in 2023 after he started giving off material and becoming a comet.
Because he came so close to saturn, it is likely that the estimate of the orbit before this is not super precise, as orbital mechanics is a chaotic thing and small changes of initial conditions become huge changes later.
comment 1w ago · link · parent
The trojans that you see there sort of do a little dance when you plot them in the rotating frame of Jupiter (more technical term is librate). The size of the region has to do with the mass of the parent body, since jupiter is so big, the capturing region is pretty large. Technically there are other trojans around some other planets, but most of them are not long term stable like jupiter is, mainly because jupiter is just big.
comment 1w ago · link · parent
You can also turn on the known asteroid population:
https://dahlend.github.io/ketev/#t=2026-11-12.9717&sel=2026%...
Everything runs in the browser, served as a static github pages so I don't have to think about hosting or anything.
comment 1w ago · link · parent
(This uses wasm, meant for a desktop, and will download the asteroid catalog of about 65mb, you have been warned)
https://dahlend.github.io/ketev/#t=2009-07-01.717&sel=2026%2...
This is a big boy.
comment 2w ago · link · parent
At least that is my read of it.
I think there was a recent paper about this, I seem to recall seeing a discussion of the process somewhere.
comment 3w ago · link · parent
https://dahlend.github.io/ketev/#t=2026-10-28.9204&sel=2026%...
comment 1mo ago · link · parent
comment 1mo ago · link · parent
My old day job was to compute asteroid positions for NASA telescopes, if you are interested in orbit prop you may be interested in: https://github.com/dahlend/kete
I made an asteroid only version of yours earlier this year, where it does full orbit propagation in workers: https://dahlend.github.io/ketev/
comment 1mo ago · link · parent
I refit the orbit and yeah this is not a dangerous object. Given its (currently poorly constrained) orbit it is likely a comet, it came the closest it will ever come to Earth last month at about half an AU from us. (IE: half the distance from the earth to the sun).
It is at about a 110 degree inclination, meaning it is basically perpendicular to the solar system plane and already passed perihelion.
MOID, or Minimum Orbital Intersection Distance, is a basic geometric measurement that says how close the geometric ellipses of two orbits get together. It doesnt mean that the objects will actually be that close ever. For example the MOID of the jupiter trojan asteroids is basically 0 since the orbits are the same, but they dont get close to jupiter. It's really handy to use it to rule out dangerous stuff though, non-zero MOID usually means there is no way it could ever be dangerous.
Here is some of the orbit code I used: https://github.com/dahlend/kete
comment 2mo ago · link · parent
I have slowly built out a set of tools for asteroid orbits and photometry (measuring how bright stars/asteroids are).
It is very rough still (Desktop only), and it only supports the FITs file standard.
Basically it is a full professional grade telescope processing pipeline in your browser. It does 2 queries to some custom databases to identify known asteroids and stars, but all image processing and calculations are done in the browser. This means the backend is pretty tiny. That said it is running on an old box in my closet, so queries may take a while if it gets hammered.
I built it since I have worked with quite a few astronomers over the past 4 years and I keep watching them do the same steps, purely built to make my friends lives easier. I wrote it all in rust and managed to compile it into wasm. With some help from fable as I am not a frontend guy at all, I built it into a small website.
Some of the code is public, the orbital mechanics code I wrote while I worked at Caltech. Which is being used on SphereX, NEO Surveyor, and the Roman telescopes to identify known asteroids. https://github.com/dahlend/kete
comment 2mo ago · link · parent
comment 4mo ago · link · parent
I suppose to make this feasible they would have to up the size of the mirrors. Unless this is somehow dirt cheap I can't imagine farmers or solar operators buying this.
comment 5mo ago · link · parent
https://www.federalregister.gov/documents/2026/05/29/2026-10...
comment 5mo ago · link · parent
Not mobile friendly
comment 6mo ago · link · parent
(Desktop Strongly recommended) https://dahlend.github.io/ketev/
comment 1y ago · link · parent
comment 1y ago · link · parent
Note that how the code is laid out you cant really simulate non-solar system masses. Its really aimed at massless objects in the solar system, your 3-body simulations are actually quite difficult to do given the design.
comment 1y ago · link · parent
https://github.com/dahlend/kete
I'm working on modeling the motion of observed dust particles coming off of comet 67P, here is are some example 3d plots:
Example of rocks ejected from one position and their possible motions: https://dahlend.github.io/67p_beta_dust.html
Trying to determine possible orbits from a set of observations (the straight lines): https://dahlend.github.io/67p_dust_orbit.html
Shout out to pyvista for making these great 3d plots possible, a little less ergonomic than matplotlib, but it can export directly to html.