This project was created to test calculating complex squares with polar coordinates (and as such still contains code from that phase of the creation of this project), however I managed to create this simple and easy to use algorithm for creating custom pallets for the mandelbrot set using a sine-based neural network. Feel free to use both this code and the other unused code.
Use turbowarp for this project: