Project preview

Experiment

Flutter Sand Simulation

  • Flutter
  • Dart
  • CustomPainter

Project overview

Falling sand, in Flutter. Grid-based physics and CustomPainter rendering. Productivity not included.

what went into it

  • 01

    Implemented a cell-based particle simulation with gravity and sideways settling.

  • 02

    Added drag-to-pour interaction and a reset action.

  • 03

    Rendered the simulation with a custom painter.

Flutter Sand Simulation: navy and brown project concept illustration
Flutter Sand Simulation: AI-generated concept artwork, not an app screenshot.
Flutter Sand Simulation: flutter sand simulation
Flutter Sand Simulation: flutter sand simulation

Inspired by The Coding Train’s sand simulation tutorial; the repository credits the original inspiration.

next project BreakMate