It is a simple way in applying a procedural generation in different ways, as I have used an alternative solutions like nth sine wave, simple harmonic motion and etc.