This animation shows growth of a large reef with extensive flank beds, such as that at Thornton, Illinois. A constant position of sea-level is assumed, but this may not have been the case.
Videos
Animation showing how a reef grows. The dark red is the reef core, created by reef builders and binders. The purple layers are the flank beds made up of carbonate mud and rubble that falls from the reef core.