Tan Swee Kang

Git Page

MGR Azimuth Finder

https://sweekang.github.io/mgr_azimuth_finder/
My OC made me do too many of these.
Allows users to input two points on a map and find the grid azimuth
Inputs allow for SAF MGR (ESPG:3168) and Lattitude and Longitude (WSG84).
Geocoding (and reverse) is also implemented
Uses: Leaflet (osm, geocoder), proj4js (coordinate conversion) and tailwind for styling (styling might have been chatgpt XD)
In the Beta version, magnetic azimuth is shown by accounting for true north and magnetic declination (noaa api).
There was an attempt to visualise terrian in the first fresnel zone
Elevations (open elevation api) were sampled, and earth buldge accounted for
Plotted with plotly

Global Minimum Variance Portfolio

https://sweekang.github.io/GMVP/
Uses alpha vantage api, and quadratic programming module to calculate gmvp.
Most of my knowledge ends at these lecture notes.
Allows setting bounds for weights.
Thank gemini and gpt for all the frontend.
Completed on Aug 2025.
Not even in uni yet. Please save me

Gravity Basins

https://sweekang.github.io/gravity_basins/
Actually magnetic pendulums, but gravity basins sounds cooler xD
Inspired from this video.
Uses integration to determine end state of magnetic pendulums; produces a nice animation in the process.
Allows for user inputs.
Yet again, an unexpected amount of time was invested into ui and ux instead of any fun algorithms
Completed on Christmas 2024.
My attempt at preventing NS brainrot.

Rubik Cube Solver

https://sweekang.github.io/rubik/
This implementation uses 3js to solve a 3x3 Rubik’s cube because I can’t.
The beginner guide explains the steps, but may contain a few redundant rotations.
The quick solver is an implementation of Kociemba’s algorithm (that I copied) that will solve the cube in almost optimal steps.
I tried to learn 3js with the project, but it turned out to be needed only in a small portion.
Made in early 2024

Python OOP Tool

https://sweekang.github.io/OOP_Tool_css/
This site helps generate OOP Classes in python becuase I’m lazy. </br> Used as practice for Jquery, eneded up as lesson in css.
Sadly not responsive (but chances are you will be programming on a laptop)
Made in mid 2023