@ryan.fail/3n3nlxk2awc2w

2D circle-to-circle bouncing collision detection

Loading the tile…

Balls bounce off the walls and off each other using elastic circle-to-circle collisions.

simulation physics visualization

Ryan Murphy
@ryan.fail

Copy at:// link View record ↗ JSON Publish a new version

Short ID
@ryan.fail/3n3nlxk2awc2w
AT URI
at://did:plc:2zpezsygdwn3iciqcef3r5nj/ing.dasl.masl/3n3nlxk2awc2w
Size
640 × 780
Theme colour
#ffffff
Background
#ffffff
Resources
5 files, 507 KB
Published
Indexed
Manifest CID
bafyreib36ty467mb6j77dee7ekza5d3l6nmjqcvtwk6c5wcn7gtdwjvi3i
Record CID
bafyreihdx55ddz2j73byxtweveeu7cmf6sevt4ljo6hljrjvrwz3qisbqu

Screenshots

Dark grey balls with motion trails bouncing around a white canvas, one red ball highlighted

Resources

PathTypeSizeCID
/text/html2.7 KBbafkreibhwypmxrzbcgkkt5rixj4kj5cm2srawwuzgbflk6ratgp6sxgcju
/flatbush.jstext/javascript28 KBbafkreicijstlt4ty3hwey55iwxhu6m53izu3ego6rkaeo2iocmqmaurgd4
/screenshot.pngimage/png466 KBbafkreieet2r4g5d7jqjgjjl6c66myphjj35pwsmu7mpyskhkxjdqadgi4u
/style.csstext/css1.3 KBbafkreiepuvsmnjelrpfadfma4aw7iwyyfyv4mbefn3qchtmnmfjvifty4q
/tile.jstext/javascript9.0 KBbafkreicos557q6tlgn4q7f3pci36t24nf5hnnvu2orelrqxackklfxqhzy
Raw record
{
  "$type": "ing.dasl.masl",
  "cid": "bafyreib36ty467mb6j77dee7ekza5d3l6nmjqcvtwk6c5wcn7gtdwjvi3i",
  "createdAt": "2026-12-02T01:34:43.220Z",
  "tile": {
    "background_color": "#ffffff",
    "categories": [
      "simulation",
      "physics",
      "visualization"
    ],
    "description": "Balls bounce off the walls and off each other using elastic circle-to-circle collisions.",
    "name": "2D circle-to-circle bouncing collision detection",
    "resources": {
      "/": {
        "content-type": "text/html",
        "src": {
          "$type": "blob",
          "ref": {
            "$link": "bafkreibhwypmxrzbcgkkt5rixj4kj5cm2srawwuzgbflk6ratgp6sxgcju"
          },
          "mimeType": "application/octet-stream",
          "size": 2753
        }
      },
      "/flatbush.js": {
        "content-type": "text/javascript",
        "src": {
          "$type": "blob",
          "ref": {
            "$link": "bafkreicijstlt4ty3hwey55iwxhu6m53izu3ego6rkaeo2iocmqmaurgd4"
          },
          "mimeType": "application/octet-stream",
          "size": 28714
        }
      },
      "/screenshot.png": {
        "content-type": "image/png",
        "src": {
          "$type": "blob",
          "ref": {
            "$link": "bafkreieet2r4g5d7jqjgjjl6c66myphjj35pwsmu7mpyskhkxjdqadgi4u"
          },
          "mimeType": "image/png",
          "size": 476829
        }
      },
      "/style.css": {
        "content-type": "text/css",
        "src": {
          "$type": "blob",
          "ref": {
            "$link": "bafkreiepuvsmnjelrpfadfma4aw7iwyyfyv4mbefn3qchtmnmfjvifty4q"
          },
          "mimeType": "application/octet-stream",
          "size": 1323
        }
      },
      "/tile.js": {
        "content-type": "text/javascript",
        "src": {
          "$type": "blob",
          "ref": {
            "$link": "bafkreicos557q6tlgn4q7f3pci36t24nf5hnnvu2orelrqxackklfxqhzy"
          },
          "mimeType": "application/octet-stream",
          "size": 9178
        }
      }
    },
    "screenshots": [
      {
        "label": "Dark grey balls with motion trails bouncing around a white canvas, one red ball highlighted",
        "sizes": "1422x800",
        "src": "/screenshot.png"
      }
    ],
    "short_name": "Bouncing collisions",
    "sizing": {
      "fit": "height",
      "height": 780,
      "minWidth": 320,
      "width": 640
    },
    "theme_color": "#ffffff"
  }
}