- SignalDesk1 hr ago
Original Summary
Hi HN, I'm excited to share a personal project that I've put a lot of love into.<p>This is Orrery[0], a Three.js-based visualization of our solar system. It allows the positions of the major bodies to be played and scrubbed through the years 1950 - 2050, with optional orbit path displays and various other visualization options.<p>The data comes from NAIF SPICE - a framework and set of open-source data kernels containing highly detailed space geometry data.<p>I was inspired to set out on this project when learning that NAIF SPICE, originally written in Fortran and C, lacks highly standardized JavaScript bindings. There are great Python (SpiceyPy) and Rust (Anise) bindings, among other languages, but nothing for JavaScript.<p>So, I developed tspice[1] to wrap the CSPICE library. It uses the Native API when running in Node, and an Emscripten binding around CSPICE when running in the browser. It uses a standardized backend abstraction that the runtime swaps in depending on which context its invoked with.<p>tspice offers an API that is meant to be a near-literal translation of the C APIs, along with higher-level functionality in separate namespaces. It also offers web conveniences like a dedicated web worker client (calculations can be intensive, you don't want them on your render thread) and caching.<p>tspice only wraps a subset of the CSPICE library, but it was enough that I wanted to build a simple visualization tool to test it. Eventually the visualization testbed became refined enough that it felt compelling on its own.<p>Although this is a hobby project, I'd love to hear suggestions and feedback on either Orrery or the underlying tspice library. If there are any folks in the planetary science community in particular who might be interested in tspice, please let me know if there are features that would make this more useful for you.<p>One feature I love is the ability to generate a share URL of a particular viewer state that you like. I'd really love to see any states that people find especially cool! One of my favorite views is this one[2].<p>Thanks for taking a look!<p>[0] Orrery repo: <a href="https://github.com/rybosome/orrery" rel="nofollow">https://github.com/rybosome/orrery</a> [1] tspice repo: <a href="https://github.com/rybosome/tspice" rel="nofollow">https://github.com/rybosome/tspice</a> [2] favorite orrery view: <a href="https://orrery.ryboso.me/dVPLbtswEPwX9qoIol4UdWtaB22RNEbsoiiKHmhpbROmSJWPxEaQf-9SSookTe2LyNmdndld3pNb0tKEdGIAK0h7T7ywO_Ck_Zkl-P-VECt6GRxpC9akjFFactbQhudlQk7ijrRnNG1ozrO8oSXNGp6xOiGj9N0esSzNmrzIs4LVDcuyvMBaypjDj5iJIP5YRRkveVmVdV3gYQ5YzgRTSElpnVNWVHXBOadIHyNujFJzhSyrOKNFk_GKYQBn7CEhW9MFd276E2nJ6ttXgpqUOIGNHsGvoEPyaM4Dfi_BPt38DkL7MMzHFNU4D-N0qhF1nQ2bK6kXM8MZrRhrsGjVYBPqrGpQ3Bwjjo8xMYTXdVnzlDYFL_NiliL1jrRboRwkpJcWOi-NRrGjCA56ghZcJxREvfN0LsztR8CcKuoIehXRq6C8HJWMvmg-EWt09xrCBqdFjpMoWV7ioApk3wXZA871nri9ufuSYxvfH-PFo6Z4G_t3IY_Qv0CU2IByCy02CoW23oany-uuU8Ghj7_glILVjN1IvxR-P1WEV7lSw3fZ-_3yiDbSCouLYVTgcC7XMRFNR3eDOK6NF2pppPZIROP-xEadcEhDJBZaDjjSfnXAuc_k7nBa30l9iK18Zu0GdA_2U3im0U5X01yQadhI0P5S7vb-s_agnfTImaVllBf0ayCfdiXoxSCdk7fwDKLzwJ6QD0YZnAl5t912XVXhZiK4NM6P1nTg3OI4Ghcsyp1b8QJcGw1XYsR0gcdLeYB_8s_xdQzrvQW0qdDeGyxTyMqj4Z2fXhl9O-Tm8e3jI_tPADijQtzcaeew2MPDHw" rel="nofollow">https://orrery.ryboso.me/dVPLbtswEPwX9qoIol4UdWtaB22RNEbsoii...</a>
- 情报分类:服务器与云资源
- 分类依据:内容涉及服务器、云资源或网络线路
- 信息来源:Hacker News 新项目
- 发布时间:2026/10/5 09:12:10
- No replies yet