ScratchData LogoScratchData
Back to iaobardar's profile

Newton Fractal

IAiaobardar•Created October 13, 2021
Newton Fractal
20
9
201 views
View on Scratch

Instructions

Click the flag to render the fractal. Use 1 and 2 to select two different polynomials. See inside if you want to try other ones. It should be pretty easy to add new ones. Share any good ones you find in the comments below. This uses newton's method for approximating roots in a complex plane. On the borders between regions, it becomes a fractal mess. The colors are based on where the approximated root is. Usually, this fractal is colored by which root it gets nearest to, but I don't have access to the roots, unless if I do some weird clumping thing on the approximations, or define the polynomials in terms of their roots. e.g. (x-1)(x+5)(x-3i)(x+3i)

Description

Inspiration and main explanation: https://youtu.be/-RdOwhmqP5s Here is the Wikipedia article: https://en.wikipedia.org/wiki/Newton_fractal Finding the derivative of a polynomial: https://en.wikipedia.org/wiki/Polynomial#Calculus

Project Details

Project ID583478589
CreatedOctober 13, 2021
Last ModifiedOctober 21, 2021
SharedOctober 14, 2021
Visibilityvisible
CommentsAllowed