Skip to main content
Okhare Paul — Portfolio©2026
000
Laboratory

Lab

This page takes the site apart, piece by piece. Each component gets a live demo, why it exists, how it works and an honest verdict. Experiments come after: ideas I haven't put in front of a client yet.

08

01 · Components

04

02 · Experiments

Meet the developer
Components

Components

C—01 · components/hero/DitherHero.tsx

DitherHero

The dithered sphere behind the hero. It breathes, swells under the pointer and dissolves as you scroll.

Why
An identity made of two colours and one algorithm, with no image to download.
How
Raw WebGL with no 3D library: a single full-screen triangle. A sphere whose surface is displaced by 3D noise is ray-marched, lit from its normal, then reduced to two colours with 8×8 ordered dithering. It pauses when off-screen and draws one still frame with reduced motion.
  • WebGL
  • GLSL
  • Ray marching
  • Bayer 8×8

Verdict — Written after launch, once this part has been lived with.

Live

C—02 · components/home/Journey.tsx

Journey

A pinned scroll section: the route from Benin City to Salford on a dot globe, with a kilometre counter. The globe turns on its own and can be dragged round.

Why
My path told as a route, the thing I'm known for.
How
A dot globe on a 2D canvas, built from a 5 KB land mask and projected orthographically. The route is a great-circle arc; scroll progress, pinned with GSAP ScrollTrigger on large screens, moves the traveller and turns the globe. The distance is computed from the coordinates.
  • Canvas 2D
  • GSAP ScrollTrigger
  • Geodesy

Verdict — Written after launch, once this part has been lived with.

Live

This one is tied to scroll. Fly it on the home page.

Fly the journey

C—03 · components/shell/LiveClock.tsx

LiveClock

The UK clock in the hero's info bar.

Why
Tells visitors where I am and when I'll reply.
How
Intl.DateTimeFormat fixed to Europe/London, so it moves between GMT and BST on its own. One timer, aligned to the start of each minute, updates the digits; the colon carries the seconds. Nothing runs in between.
  • Intl API
  • Timers

Verdict — Written after launch, once this part has been lived with.

Live

Salford, Manchester · Europe/London

C—04 · components/shell/Loader.tsx

LoadCounter

000 to 100 as the site loads, beside a small boot log, then the panel wipes away.

Why
Turns waiting into a moment.
How
A GSAP timeline counts to 86 and waits there until the typefaces have loaded, then finishes at 100. The contents fly up, the panel clips away upwards and the hero's letters start. It plays once per visit and is skipped with reduced motion.
  • GSAP
  • Preloading
  • clip-path

Verdict — Written after launch, once this part has been lived with.

Live
100

C—05 · components/shell/Cursor.tsx

Cursor

A dot and a lagging reticle in place of the pointer, with labels and magnetic buttons.

Why
Makes navigation feel tactile and gives hints like "View" without adding words to the page.
How
Two elements follow the pointer at different speeds with gsap.quickTo. Any element opts in with data-cursor="Text" or data-magnetic. Touch devices and reduced-motion visitors keep the system cursor.
  • GSAP quickTo
  • Data attributes

Verdict — Written after launch, once this part has been lived with.

Live

Move the mouse over this panel: the reticle grows and takes a label.

C—06 · components/ui/primitives.tsx · components/shell/Motion.tsx

Kinetic type

Headings arrive letter by letter, and their weight thickens as the pointer gets closer.

Why
Gives the typography depth without images: the text itself is the interactive element.
How
Each heading is split into words and masked letters on the server, and GSAP raises the letters into place. For the weight, the distance from the pointer drives each letter's variable-font weight axis; the loop stops as soon as nothing is moving. The full text stays available to screen readers.
  • GSAP
  • Variable fonts
  • requestAnimationFrame

Verdict — Written after launch, once this part has been lived with.

Live

C—07 · components/shell/ThemeToggle.tsx

NightShift

Light and dark themes with a single switch.

Why
Comfort, and it shows craft.
How
The site has two colours, an ink and a paper; the switch swaps them. The View Transitions API opens the new theme as a circle from where you clicked. The choice is saved in your browser and applied before first paint.
  • View Transitions API
  • CSS

Verdict — Written after launch, once this part has been lived with.

Live

Flip it.

C—08 · Not built yet

Ask Okhare

A small assistant that answers questions from my CV and projects.

Why
Recruiters get answers without reading everything.
How
Planned for the next stage of the build.
  • TypeScript
  • LLM API

Verdict — Written after launch, once this part has been lived with.

Planned

Not built yet. It arrives in the next stage of the site.

Experiments

Experiments

E—01

Ongoing

Swarm sandbox

The full dissertation demo: add drones, block a point, watch the swarm re-route.

  • WebGL
  • Reinforcement learning

Click near a stop to block it

Drones
5
Delivered
0
Blocked now
0
Re-routes
0

This version runs the zone clustering and route planning live. The learning layer from the dissertation is the part still to come.

E—02

Ongoing

Magnetic gears

A 3D model of my levitated drivetrain: gears that turn without touching.

  • Three.js
  • Physics

Waiting on the CAD export

E—03

Stable

Solenoid engine

My ECS CAD Olympics entry, rotatable in the browser.

  • Three.js
  • Autodesk Fusion export

Waiting on the CAD export

E—04

Archived

The first drone

My BEng delivery drone, photos and flight video.

  • Hardware

Waiting on photos and flight video