RepositoryTypeScriptBDBangladesh
shajidhasan

shajidhasan/mobile-fluid-sim

A real-time fluid simulation that runs in your browser and reacts to mobile device sensors.

72stars
9forks
0issues
1views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: flip

#1 Repository of the week

1
TINIX TRENDING·Topic: deviceorientation

#1 Repository of the week

2
TINIX TRENDING·Topic: fluid

#2 Repository of the week

mobile-fluid-sim

A real-time fluid simulation that runs in your browser and reacts to mobile device sensors. Built using the FLIP (Fluid-Implicit-Particle) technique for realistic fluid dynamics.

Try it live at fluid.sh4jid.me

Demo

Fluid Simulation Demo

About

This project implements fluid simulation techniques taught by the amazing Ten Minute Physics YouTube channel, particularly from this video.

The initial inspiration for this project came from Nicholas L. Johnson's flip-card project.

Since creating this simulation, it has become my go-to digital fidget toy. You can install it as a PWA too!

Todo

  • Add more interaction options
    • Change color with shake
    • Control flow with finger
  • Add viscosity control

Support

If you enjoy this project, consider buying me a coffee!

Buy Me A Coffee

Development

pnpm install
pnpm dev

License

MIT License - see LICENSE file for details.

Contributing

Pull requests are welcome! Feel free to contribute improvements or new features.

Similar Projects

Discover other similar projects and AI models.

RepositoryJavaScript
PavelDoGreat/WebGL-Fluid-Simulation

Play with fluids in your browser (works even on mobile)

17.0k
Nov 12, 2024
RepositoryPython
PavelBlend/blender-jet-fluids-addon

Jet fluid engine integration in Blender

106
Dec 9, 2023
RepositoryTypeScript
xyflow/xyflow

React Flow | Svelte Flow | Vue Flow - Powerful open source libraries for building node-based UIs with React (https://reactflow.dev), Svelte (https://svelteflow.dev) and Vue (https://vueflow.dev). Ready out-of-the-box and infinitely customizable.

39.2k
Dec 2, 2026
RepositoryTypeScript
vercel/ai

The AI Toolkit for TypeScript. From the creators of Next.js, the AI SDK is a free open-source library for building AI-powered applications and agents

28.3k
Dec 1, 2026
RepositoryTypeScript
NativeScript/NativeScript

⚡ Write Native with TypeScript ✨ Best of all worlds (TypeScript, Swift, Objective C, Kotlin, Java, Dart). Use what you love ❤️ Angular, React, Solid, Svelte, Vue with: iOS (UIKit, SwiftUI), Android (View, Jetpack Compose), Flutter and you name it compatible.

25.7k
Nov 25, 2026
RepositoryTypeScript
VERT-sh/VERT

The next-generation file converter. Open source, fully local* and free forever.

16.4k
Nov 27, 2026
RepositoryTypeScript
yoavbls/pretty-ts-errors

🔵 Make TypeScript errors prettier and human-readable in VSCode 🎀

14.1k
Nov 16, 2026
RepositoryTypeScript
huggingface/chat-ui

The open source codebase powering HuggingChat

11.1k
Nov 30, 2026
RepositoryTypeScript
huntabyte/shadcn-svelte

shadcn/ui, but for Svelte. ✨

9.3k
Nov 25, 2026