gekro
GitHub LinkedIn

Bubble Wrap

Pop a sheet of bubbles by tapping or sliding across it, with soft optional sound, no score and no pressure.

Left on this sheet 0

Popped in all 0

Sheets finished 0

Tap a bubble to pop it. Press and slide across the sheet to pop a row at a time. With the keyboard, Tab to the sheet, move with the arrow keys and press Enter or Space; focus then moves on to the next whole bubble. Popped bubbles go flat and show a dashed ring, so you can tell them apart without colour. When the last bubble is gone, a fresh sheet appears by itself. On a phone, Slide to pop stops the sheet from scrolling the page, so you can scroll by dragging outside the sheet, or turn Slide to pop off and use taps. Zen mode hides the counters. Sound is off until you turn it on. Nothing flashes more than 3 times a second, and with reduced motion on there is no squash or ring at all.

How it works

A sheet is a grid of bubbles with a flag for each one. Where you touch is turned into a column and a row by dividing by the size of a cell, so the gaps between bubbles count too and a near miss still pops. If your finger moves faster than the page can follow, the engine draws a straight line of cells between the last bubble and the new one and pops every bubble on the line.

Each bubble has its own pitch, so a sheet does not pop in one note. The light ring on a pop and the pop sound both pass through a limiter that looks at the last second and refuses a fourth ring (or a fifteenth sound). The only things saved are two running totals, on this device.

As-is, no warranty. These apps are free under their listed license and run entirely in your browser. Use at your own risk — don't blame me if your PC catches fire, your dog runs away, or the math turns out wrong. Verify anything that actually matters. None of this is professional financial, medical, legal, or engineering advice.

© 2026 Rohit Burani · MIT · Built at gekro.com · View source ↗

Guide

How to play

Pop the bubbles. That is all there is to it.

  • Tap a bubble to pop it. A popped bubble goes flat and shows a dashed ring, so you can tell it from a whole one without relying on colour.
  • Slide. Press and drag across the sheet to pop a whole row at a time. If your finger moves faster than the page can follow, every bubble on the straight line between the two points still pops. With a mouse this always works. On a touch screen, Slide to pop starts off, because sliding stops the sheet from scrolling the page; turn it on to slide, and scroll by dragging outside the sheet. With it off, a tap pops the bubble when your finger lifts, so a swipe that scrolls the page pops nothing.
  • Sizes. Large bubbles (35 on a sheet), Medium (54) and Small (96). Choosing a size gives you a fresh sheet.
  • Fresh sheet. When the last bubble pops, the sheet glows for a moment and a new one appears by itself. New sheet swaps it at any time.
  • Zen mode hides the counters, so there is nothing to count at all. The totals are still kept quietly on your device.
  • Sound is off until you turn it on. A pop is a very short, quiet falling tone, and every bubble has its own note. A finished sheet plays three soft rising notes. Sound pauses when you switch to another tab and picks up again when you come back.

Keyboard. Tab to the sheet, then move between bubbles with the arrow keys (Home and End jump to the ends of a row, with Shift to the ends of the sheet). Enter or Space pops the bubble, and focus moves on to the next whole bubble, so you can keep popping with one key. On a bubble that is already popped, the status line says “Already popped” and focus still moves on. The status line says how many are left, and says “Halfway there” and “Five left” on the way. Each bubble has a label such as “Row 2, column 3, whole”.

Light and motion. Nothing flashes more than 3 times a second. A pop squashes the bubble once and, at most three times a second, shows a faint ring. Nothing moves in a loop. If your device asks for reduced motion, there is no squash and no ring at all, and the fresh-sheet fade is left out.

How it works

The sheet. A sheet is a grid with one flag per bubble. Each bubble also gets a pitch from 0 to 4, drawn from a seeded generator, and the sheet gets one of six colours from its seed. The same seed always gives the same sheet, which a test confirms.

Finding the bubble. Where you touch is turned into a share of the sheet’s width and height, then into a column and row by dividing by the cell size. The whole cell counts, gaps included, so a near miss still pops. A test compares this with a brute-force search that walks every cell rectangle, on 4,000 random points per size and on every cell edge, and the two agree every time. A point outside the sheet, or not a number, finds nothing.

Fast slides. Pointer events can arrive a few cells apart. The engine draws a straight line of cells between the last bubble and the new one and pops them all. A test checks over 1,500 random pairs that the line includes both ends, has no repeats, has exactly as many cells as the larger of the two distances plus one, and that every step moves to a neighbouring cell, so no bubble on the path is skipped.

Safe flashing. The light ring and the sound both go through a small rate limiter. It remembers when it last allowed an event and refuses a new one if the window of the last second is already full. For the ring the limit is 3, and for the sound 14. The tests ask the limiter every 10 milliseconds for ten seconds and get exactly 30 rings, and on 400 random and bursty timings they check that no window of one second ever holds more than three. A bad or backwards clock lets nothing through.

Sound. One sine oscillator per pop, falling from the bubble’s note to about a third of its pitch over 70 milliseconds, with a gain no higher than 0.1. The sound is created only after you press the sound button. There are no sound files.

FactValueChecked by
Sheet sizes35, 54 and 96 bubblesconstant test
Bubble under a touchmatches brute force4,000 points per size plus every edge
Slide pathno gaps, no repeats1,500 random pairs
Light ringat most 3 in any secondrandom and saturated clocks
Pop sound70 ms, gain at most 0.1tone test
Savedtwo whole numberssanitiser tests

What is stored

Two running totals: bubbles popped (up to 999,999) and sheets finished (up to 9,999), in your browser’s local storage as a small object. Anything else found there is ignored: the loader reads only those two keys, accepts only whole numbers in range, and builds a new object. Nothing is sent anywhere, and the page works if storage is blocked. Clearing site data resets the totals.

All creative toys →

Free to play, no ads, nothing uploaded. These games are original and are not affiliated with any other game or brand.