Adjust the parameters p and q to change the number of spiral arms:
p:
q: