May 10, 2024   -   David Oyinbo

Canvas Random Floating Circle

Lightweight Canvas animation where circles float randomly across the screen with gentle drift and easing.

JavaScriptHTML CanvasAnimationPet Project
canvas random floating circle image

Overview

This experiment uses Canvas 2D APIs to draw circles that drift around the viewport with simple easing and random direction changes. It focuses on animation loops, randomness, and smooth motion.

Highlights

Canvas Rendering

  • 2D context drawing (arcs, fills)
  • Clear + redraw per frame
  • Responsive canvas sizing

Randomized Motion

  • Random velocities and drift
  • Occasional direction changes
  • Gentle easing for a calm effect

Animation Loop

  • requestAnimationFrame
  • Time-based updates
  • Lightweight state

Code Footprint

  • Minimal JS
  • No dependencies
  • Easy to tweak

Other Projects

May 13, 2024

Canvas Infinity & Circle Mouse

Pet project exploring HTML Canvas and JavaScript animations—drawing an infinity curve and a circle following the mouse.

JavaScriptHTML CanvasAnimation
June 27, 2025

Actix Web Starter Template

Production-ready Rust/Actix Web REST API starter with RBAC auth, SeaORM/PostgreSQL, Kafka-based email, and Docker tooling.

RustActix WebSeaORM
October 1, 2021

Payaza Web SDK

A JavaScript Web SDK that simplifies integrating Payaza checkout on web applications. Built as part of my role at Payaza Africa.

SDKJavaScriptPayments

Let's build something together

Available for senior engineering roles, consulting, and architecture reviews.

© 2026 David Oyinbo