C
is the initial point
Zn
is the actual value of iteration
Z
_{n+1}
is the next value
Mandelbrot 
C + Zn^2


BurningShip 
C + Zn^2

Each point you see has a coordinate in the complexe plane. On each of them, repeat the following operation:
Z
_{n+1}
=
formula(Zn)
If the value becomes too large, or the operation has been repeated enough, stop and assign a color based on the number of times the operation was repeated.