Home
Showcase(9)
Blog(16)
Lab
YouTube

Blog

16

Latest Blog

barnes hut cover image

Simulating 100,000 Stars in Real-Time with the Barnes-Hut Algorithm

0 views

When I started CS380P at UT Austin, I expected a tough parallel computing assignment from my Parallel Computing course. What I did not expect was to get genuinely obsessed with a physics simulation.

The problem was deceptively simple: implement a parallel N-body gravitational simulator using the Barnes–Hut algorithm with MPI. I built a correct sequential Barnes–Hut tree code first, then parallelized it with MPI, then kept going until I had an interactive web demo that lets you see the quadtree evolve in real time.

This post is a guided walkthrough of what I built, how Barnes–Hut turns an impossible looking problem into something tractable, what MPI does to a tree-based algorithm, and what the accuracy versus speed knob (θ) really means when you can watch it.


Research

Development

January 9, 2026

More Blogs

Categories

    DevelopmentResearchAIBCI
Loading...
Montek KundanMontek Kundan
  • Home
  • Showcase(9)
  • Blog(16)
XInstagramGitHubLinkedInYouTube

Build using basehub.com

Inspired by basement.studio

Montek 2026

XInstagramGitHubLinkedInYouTube

Montek 2026

Inspired by basement.studio

Tangle GAN cover image

Reproducible GAN pipelines with Tangle

0 views

Development

AI

December 23, 2025

The Visual Intro to AISDK Cover

The Visual Intro to AISDK

0 views

Development

AI

December 13, 2025

Building Google Translate from Scratch cover image

Building Google Translate from Scratch (kinda)

0 views

Research

Development

AI

June 29, 2025

Building a Modern CLI Scaffolder from Scratch

0 views

Development

May 26, 2025

Chaicode Blog Cover Image

Real-Time Fluid Shaders in React Three Fiber: A Deep Dive into Chai Cup Liquid

0 views

Development

May 23, 2025

zenlock cover image

ZenLock: Building a macOS Menu-Bar Focus Timer

0 views

Development

May 12, 2025

Yew Blog Cover Image

Building a Full-Stack Web App with Yew and Actix

0 views

Development

May 5, 2025

Talking to your terminal blog image

Talking to your terminal, learn to create a CLI app in Rust

0 views

Development

May 1, 2025

Making your Own CDN

0 views

Development

April 10, 2025

Creating Player Locomotion in Unreal Engine

0 views

Development

December 12, 2023

Learning opengl

Learning OpenGL and GLSL

0 views

Development

December 10, 2023

A guide to neural networks cover

A guide to neural networks

0 views

Development

AI

September 10, 2023