An experimental visual editor for JavaScript

npm install
npx run start
demo for the following sample code
constMAX_ITERATION=80functionmandelbrot(c){letz={x: 0,y: 0},n=0,p,d;do{p={x: Math.pow(z.x,2)-Math.pow(z.y,2),y: 2*z.x*z.y}z={x: p.x+c.x,y: p.y+c.y}d=Math.sqrt(Math.pow(z.x,2)+Math.pow(z.y,2))n+=1}while(d<=2&&n<MAX_ITERATION)return[n,d<=2]}mandelbrot(1);c=1;