Recent posts

Debugging C++ with VS Code

This post explains how to configure a debugging environment in Visual Studio Code (VS Code). While the settings described are for macOS, they can be easily adapted for Windows with minimal changes, such as the compiler. VS Code uses tasks.json and launch.json for build and debug configurations...

When Looking at a Parabola in Perspective

Projecting a 3D object onto a 2D plane often involves transforming geometric equations into a perspective view. Here’s a fun observation: when you view a parabolic curve drawn on the xz-plane from the xy-plane through a perspective projection, the curve can appear as an ellipse. The animation ...

Setting up ROS Development Environment on MacOS using Docker

Setting up ROS using Docker allows for a clean and efficient development environment on macOS. This post guides installing Docker, pulling and running ROS images, configuring XQuartz for GUI support, and launching containers with X11 forwarding. Following steps help to run ROS tools like rviz ...

[Three.js] Create the Milky Way Skybox

This post is the final step of our solar system project using Three.js. We will add a realistic Milky Way background. This will enhance the feeling of exploring the solar system. To do this, we will create a large cube with Milky Way texture on the inner face of the cube.

[Three.js] Make the Sun Shine

This post explains how to apply a bloom effect to specific objects in a Three.js scene using multiple EffectComposer instances and layers. By leveraging Three.js Layers, objects that require the bloom effect are isolated into a dedicated layer. A “bloom composer” renders only these objects wit...