How do I create a scalloped edge

You might take a look at this thread: Sine wave disc formula? - #24 by john_drivenupthewall