Samin Sami's Work | ContraWork by Samin SamiSamin Sami
Creative 3D Web & AI Eng. Breaking Browser's Absolute Limits
KUTNI MCC470: Bangladesh National Cellular Digital Twin (https://tower-map-pulse.base44.app)
An infrastructure intelligence platform built on 8,600 verified Bangladeshi network cell towers to locate emergency callers without GPS, identify shared tower opportunities, analyze highway connectivity, and run in-browser diagnostics.
Project Overview:
The most precious thing we own is our life. While many developed countries have put their name in the absolute pinnacle of tech industry. Developing and under Developing countries suffer a massive issue due to lack in advancements in tech. People, women, kids suffer from natural disasters and Monsoon floods regularly isolate families in districts in Bangladesh such as Sylhet, Sunamganj, and Feni. Most residents in affected rural areas rely on basic feature phones rather than smartphones with active GPS or mobile data. When calling emergency lines, they cannot share a digital map pin. However, their phone diagnostic screen displays their serving base station codes: the Location Area Code and Cell Identifier.
At the same time, mobile network operators frequently duplicate infrastructure by erecting towers within walking distance of each other, incurring redundant land leases and diesel generator costs. Freight and cold-chain logistics fleets also face coverage dropouts along major trade routes because dispatchers lack route-specific carrier performance data.
KUTNI MCC470 addresses these operational problems using a verified dataset of 8,600 physical cell towers across Bangladesh (MCC 470). It does not use simulated points, mock coordinates, or placeholder records. Every calculation runs on confirmed base stations belonging to Grameenphone, Robi, Banglalink, and TeleTalk.
It's not just a sci-fi concept, this platform not only helps in saving someone's life, but also plays a crucial role in Startups. (From a person getting saved from a life threatening disaster to a Real Estate company using this feature to give their customer's a bit of unique service by telling them which SIM cards to avoid or use for that specific home, ultimately earn some money-money in their wallets).
Core Platform Capabilities:
1. Interactive 3D Globe Network Map
It renders all 8,600 verified network cell towers present in Bangladesh on a 3D spherical Earth using MapLibre GL. Includes three conjoined map controls:
1. Real-life Satellite: Toggle photorealistic ArcGIS world imagery tiles.
2. 2D to 3D Globe: Toggle spherical Earth projection.
3. Reload and Reset: Recenter camera directly over Bangladesh.
It provides real-time filtering by operator (Grameenphone, Robi, Banglalink, TeleTalk) and radio generation (4G LTE, 3G UMTS, 2G GSM).
2. Emergency Phone Triangulation
If an emergency caller uses a basic phone during a flood, a rescue volunteer can ask for the tower numbers displayed on their screen (Location Area Code and Cell ID). It matches those codes to the physical mast location and renders an approximate search perimeter and then calculates the three nearest backup towers from alternative carriers within 10 kilometers using the Haversine formula. Ultimately generating a bilingual field dispatch sheet in English and Bengali with compass bearings for boat crews.
3. Tower Sharing and Co-Location Optimizer
By constructing a cell mast requires significant capital, recurring land rent, and diesel generator fuel. It evaluates distances across all 8,600 towers in real time. Later identifies over 1,000 locations where competing carriers built standalone towers within 250 meters of one another and finally computes annual operational savings in Bangladeshi Taka achieved by consolidating onto a shared structure.
4. Highway Transport Corridors
Freight trucks, delivery vans, and emergency vehicles require continuous network reception along trade routes. Kutni inspects a whole bunch of cell tower distribution along primary national arteries: N1 (Dhaka to Chittagong), N2 (Dhaka to Sylhet), N5 (Dhaka to Bogra), and N8 (Dhaka to Khulna via the Padma Bridge). Furthermore it compares 4G LTE high-speed coverage against 2G GSM voice fallback. Finishing off by formulating primary and failover Dual-SIM hardware configurations for vehicle telematics units.
5. Genuine x86 Virtual Machine Sandbox
Kutni integrates a client-side WebAssembly x86 PC emulator running directly in the browser (meaning real life Operating Systems). It boots graphical KolibriOS or lightweight Linux BusyBox for offline diagnostic calculations and field scripts without server dependence.
6. Systems Architecture Dossier and Plain English Guide
Kutni outlines technical specifications, dataset schemas, and architectural credentials. It furthermore provides a step-by-step interactive walkthrough that explains every operational tool clearly.
Design System and Interface:
1. Color Scheme: Deep obsidian foundation (#070c0e), mint phosphor accents (#00d2be), imperial gold highlights (#d4af37), and telecom cyan (#00A8E8).
2. Tactile Surfaces: Glass-morphic panels with metallic borders, high-contrast status readouts, and responsive mobile and desktop viewports.
3. Audio Feedback: Mechanical clicks and tones synthesized using the Web Audio API for tactile operational confirmation. SaminOS: A Full Operating System Stored in a Single Molecule of DNA (https://github.com/Saminsami73/SaminOS_DNA)
Creator: Samin Sami (Samin Yasar Al Sami)
The Story Behind the Project:
Hey there, first off sorry for being this delay in posting projects on Contra. Well in my Contra profile I had uploaded and shown numerous love towards browser based Operating systems. We had seen a famous Vanilla based Win 95 (https://win95bysamin.netlify.app). A perfect retro functioning operating system running in your browser. Then I thought it would be more crazier to have AetherOS (https://aetherosbysamin.netlify.app), an AI agent based operating system running in a single HTML based file system! This year I decided I would build something different, something unique. Most operating systems today are massive. Windows and macOS take up tens of gigabytes of disk space and require gigabytes of memory just to show an empty desktop. Even a simple program usually carries megabytes of hidden background code.
I wanted to find out how small a real, interactive operating system could be.
I set a hard rule for myself: everything had to fit inside 512 bytes. That is the exact size of a single Master Boot Record sector on a computer hard drive. There is no room for bloat, third-party libraries, or sloppy instructions. Every single byte has to fight for its place.
I wrote SaminOS in raw 16-bit x86 assembly language. When a computer turns on, its motherboard BIOS looks for the first sector of a disk, checks for a two-byte signature at the end, and loads the code directly into memory address 0x7C00. SaminOS takes full control of the machine from that exact moment.
It does not just print a single line and freeze. SaminOS boots an interactive command line with a live blinking prompt. It draws a four-line bold ASCII art logo. It includes a keyboard driver that handles keystrokes, buffers characters in memory, and erases letters cleanly when you hit backspace. It reads the motherboard real-time clock chip, converts raw decimal numbers, and displays the local time in Dhaka. It gives you six working commands: help, info, time, say, cls, and reboot.
The entire system takes up 508 bytes of machine instructions and text, leaving two empty padding bytes and the two-byte boot signature. Exactly 512 bytes.
Then I realized something much bigger: that 512-byte operating system could live inside biology.
How Code Turns into DNA:
Computers think in binary numbers: 0 and 1. Living cells think in genetic letters: Adenine (A), Cytosine (C), Guanine (G), and Thymine (T).
Because there are four genetic bases, each letter can store exactly two binary bits:
- 00 becomes A
- 01 becomes C
- 10 becomes G
- 11 becomes T
Every byte of computer data contains eight bits. In my encoding system, each byte turns into a short four-letter genetic word. For example, the hex byte 0x55 (which is 01010101 in binary) turns into the letters CCCC. The hex byte 0xAA (which is 10101010) turns into GGGG.
Because SaminOS is exactly 512 bytes long, the entire operating system translates into an exact strand of 2,048 DNA base pairs.
This number changes everything.
When large tech companies store data in DNA, such as movies or research archives, the files are millions of bytes long. Chemists cannot easily synthesize a million-letter strand of DNA in one piece. They must chop the data into thousands of tiny, scrambled fragments, store them in a pool, and rely on complicated mathematical algorithms to piece them back together later. If one piece gets lost, the whole file can break.
SaminOS does not have to be chopped up. In nature, 2,048 letters is the normal size of a single bacterial gene. That means SaminOS exists as one single, unbroken, continuous strand of DNA.
The entire bootloader, the kernel, the command engine, the clock math, the prompt, and the author metadata all fit onto one molecular polymer.
From a Glass Tube to a Laptop Screen:
People often ask: how can clear liquid in a tube run on a computer screen?
The link between biology and hardware works in five clear steps:
1. Digital Compilation: A Python tool reads the 512-byte binary file of SaminOS two bits at a time. It maps each pair to A, C, G, or T, producing a 2,048-letter text sequence.
2. Chemical Synthesis: A DNA synthesizer prints the sequence. Instead of paper and ink, it links real molecules together, base by base, building physical double-helix strands floating in purified water.
3. Biological Storage: The dry DNA forms an invisible salt crystal, or dissolves into clear water. A single molecule of SaminOS is only 696 nanometers long and weighs 1.26 attograms. That is so small that a single drop of water can hold billions of complete copies of the operating system.
4. Nanopore Reading: To boot the system, you pipette a tiny droplet of the liquid into a portable DNA sequencer, like an Oxford Nanopore MinION. This device is smaller than a smartphone and plugs directly into a laptop via USB. Inside the device, an electrical current pulls the DNA strand through a microscopic protein pore. As each letter passes through, it creates a distinct dip in the electric current.
5. Silicon Boot: Software on the laptop reads those electric signals and turns them back into the original 512 bytes of machine code. A script loads those bytes into Sector 0 of a virtual drive or USB flash stick. The computer BIOS checks the last two bytes, confirms the 0x55AA boot signature, loads the code into RAM at 0x7C00, and boots SaminOS live on screen.
Molecular Surgery: Using Enzymes as Hardware Switches:
Because the computer instructions map directly to physical genetic letters, we can do something impossible with ordinary silicon: we can modify software using biology.
In molecular biology, scientists use restriction enzymes. These are natural biological proteins that act like microscopic scissors. Each enzyme looks for one specific pattern of genetic letters and cuts the DNA strand at that exact spot.
When we map SaminOS into DNA, our assembly instructions accidentally create real recognition sites for known enzymes:
-SmaI and XmaI (They are the Boot Switch): The x86 boot signature 0x55AA translates into CCCCGGGG at base pairs 2041 to 2048. Both SmaI and XmaI cut the sequence CCCGGG. If you add SmaI to the vial, it snips the strand right inside the boot signature. It does not touch any of the commands or code, but the computer BIOS will refuse to boot the disk. It acts like a biological write-blocker or kill switch.
- NsiI (The Keyboard Lock): At base pair 100, NsiI cuts right where the code calls the BIOS keyboard interrupt. Adding this enzyme physically unplugs the keyboard handler at the molecular level.
- AseI, PmlI, and MscI (The Clock Cutters): All three enzymes cut inside the mathematical routine that decodes the motherboard real-time clock.
- AgeI and SalI (The Dhaka Marker): Bases 1989 to 2008 spell out the word "Dhaka" in ASCII. The letters of the city name form the exact cutting site for AgeI and SalI. Dropping these enzymes into the tube cuts the geographic origin marker out of the code.
- StuI (The Banner Cutter): This enzyme cuts through the exact middle of the ASCII art startup logo.
You do not need a compiler or a hex editor to disable features. You can modify the binary using drops of liquid on a laboratory bench.
Why I did this:
This project is not just a technical puzzle. It points toward solutions for real problems in computing:
1. Storage That Lasts for Millennia: Modern hard drives fail within ten years. Magnetic tapes degrade. Flash memory loses charge. Synthetic DNA stored in tiny glass beads can last for tens of thousands of years at room temperature with zero electricity. SaminOS proves that executable software, not just static text or images, can be archived for deep time.
2. Extreme Data Density: DNA can store more information per cubic millimeter than any silicon chip known to science. All 512 bytes of SaminOS fit into an object smaller than a wavelength of visible light. You could pack copies for every person on Earth into a single drop of liquid.
3. Living Servers: Because 2,048 base pairs is the size of a normal gene, you can insert SaminOS into a harmless bacterium like E. coli. As the bacteria feed on basic nutrients, they duplicate the operating system billions of times without drawing power from an electrical wall outlet.
4. Absolute Physical Security: A vial of SaminOS has no radio antenna, no network card, and no electrical emissions. It cannot be scanned through an airport X-ray or intercepted across the internet. It exists outside the electromagnetic spectrum until it is sequenced.
What This Project Demonstrates:
SaminOS shows what happens when low-level assembly language meets synthetic biology. It demonstrates:
1. Deep mastery of bare-metal x86 architecture, memory layouts, and hardware interrupts.
2. Clean algorithm design under a strict 512-byte constraint.
3. Creative cross-disciplinary engineering linking computer science, information theory, and molecular genetics.
4. Clear communication that turns complex biocomputing concepts into accessible, human ideas.
Ref and Source Links:
1. SaminOS Research at Zenodo: https://doi.org/10.5281/zenodo.23554876
2. SaminOS Github Repo with all tools and resources : https://github.com/Saminsami73/SaminOS_DNA
3. A 61 Page Guidebook of SaminOS DNA : https://github.com/Saminsami73/SaminOS_DNA/blob/main/SaminOS_Complete_Guidebook.pdf
4. SaminOS Main Research paper : https://github.com/Saminsami73/SaminOS_DNA/blob/main/SaminOS_Research_Paper_v2.pdf Face Detection: Browser Machine Learning and Biometric HUD (https://codepen.io/saminSalma/pen/ogZwEpp)
I built this face detection app to run machine learning models directly in the browser inside a clean interactive UI.
Users can upload any photo and get an instant scan. The system draws targeting brackets over the face, maps 68 facial points, estimates age and gender, and shows percentage bars for seven basic emotions. If a photo has more than one person, the app counts them and lets you click through each face to update the readings on screen.
Everything runs on the client side using JavaScript and HTML5. The photos stay on the user's computer and never get uploaded to an external server. The model detects the face position, facial points, age, and emotion expression in one pass. If someone uploads a photo without a visible face or any pics of living creatures other than humans, the app handles the error and updates the status message instead of freezing.
The ragebaiting part was to format and structure out the data so it felt clean and fast. Putting the emotion stats beside the face box makes it easy to read the numbers while looking at the person. No distractions, no drama... Showing the total face count in the corner also helps users know if the model missed anyone in the photo.😊 Neon Flow: 3D Character Texturing Experiment
How neon color maps flow across a human silhouette, built with Three.js
I built this 3D animation to test how neon color maps flow across a human body model in real time. The goal was simple: see what happens when you push vibrant textures through a digital silhouette and watch the lighting respond.
The result is a short animation where purple and blue neon patterns move across a human figure. The colors shift with the camera angle, so the surface always looks like it is in motion.
WHAT I WAS TESTING:
I wanted to find out two things:
1. How color transitions work on a 3D character mesh when they move?
2. How lighting interacts with neon textures that are always changing?
The animation uses custom shader code to make the colors move across the surface. The neon maps flow instead of sitting still, which gives it that liquid look.
THE TECHNICAL SIDE:
Everything runs in the browser with Three.js and WebGL. No plugins, no downloads.
The code handles vertex and fragment shaders for the flowing neon effect, dynamic lighting that changes with the animation, and smooth camera movement with OrbitControls. I also used SimplexNoise to generate the color patterns that flow across the model.
I loaded the human model with GLTFLoader, then applied custom materials with noise-based color transitions. The Orbitron font from Google Fonts gives the text overlay that sci-fi look.
TRY IT YOURSELF: (https://<https://jsfiddle.net/Saminsami/dz1p0ws6/1>)
The full working example is on JSFiddle. You can change the colors, adjust the speed, or swap out the model to see how the effect changes.
WHAT I LEARNED:
This project taught me about shader programming and how small changes in color values shift the mood of a 3D scene. The neon effect works because the colors never stop moving.
If you are working on similar projects or want to collaborate on 3D web experiments, message me here on Contra.
Built by Samin Sami | Developer & 3D Experimentation