Sign in to see your models

Save models to your account and pick up where you left off on any device.

Sign-in is temporarily unavailable. Please try again later.

All models

Sandpile

Grains land on the center patch every tick. Any patch holding 4 or more passes one to each of its 4 neighbors, and grains pushed off the edge are lost, so the pile fills until the losses match the drip.

Source NetLogo Models Library

Collections PatternsNetLogo ports

Connect AI

Connect an AI client

An MCP client connected to Sandpile can search examples and docs, render previews, change parameters and edit the code.

Your edits stay protected. If you change the code, the AI must review those changes before its next edit can apply.

Checking your account…