No description http://newton.bobin.at
  • TypeScript 63.5%
  • GLSL 29.3%
  • HTML 4.8%
  • CSS 1.8%
  • JavaScript 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remmli c284524e04
Fix black blobs on mobile by increasing fragment shader floating point precision (#1)
* maybe fix mobile float point precision issues? hopefully??

* add fragment shader float precision logging
2025-10-10 10:50:01 +02:00
public initial commit 2024-12-12 00:27:36 +01:00
src Fix black blobs on mobile by increasing fragment shader floating point precision (#1) 2025-10-10 10:50:01 +02:00
.gitignore initial commit 2024-12-12 00:27:36 +01:00
index.html Custom Polynomials, Colors, automatic root and derivative calculations, improved performance, antialiasing, new better color theme, github icon/link 2024-12-14 21:34:52 +01:00
LICENSE Create LICENSE 2024-12-12 12:50:16 +01:00
newton_fractal_demo.gif gif for readme 2024-12-12 20:17:29 +01:00
newton_fractal_demo_new.gif Custom Polynomials, Colors, automatic root and derivative calculations, improved performance, antialiasing, new better color theme, github icon/link 2024-12-14 21:34:52 +01:00
package-lock.json Custom Polynomials, Colors, automatic root and derivative calculations, improved performance, antialiasing, new better color theme, github icon/link 2024-12-14 21:34:52 +01:00
package.json Custom Polynomials, Colors, automatic root and derivative calculations, improved performance, antialiasing, new better color theme, github icon/link 2024-12-14 21:34:52 +01:00
README.md Custom Polynomials, Colors, automatic root and derivative calculations, improved performance, antialiasing, new better color theme, github icon/link 2024-12-14 21:34:52 +01:00
styles.css animation tools yay 2024-12-23 23:14:03 +01:00
tsconfig.json basic mandelbrot render 2024-12-12 01:23:00 +01:00
vite.config.js basic mandelbrot render 2024-12-12 01:23:00 +01:00

🌟 Newton Fractal Viewer 🌟

A THREE.js based fractal viewer for rendering Newton fractals in real-time.

newton_fractal_demo_new.gif

🛠️ Features 🛠️

✅ Implemented

  • Interactive Zooming and Panning🔎
  • Real-Time Rendering 🚀
  • Customization:
    • Polynomials ➗
    • Coloring 🎨
    • Iterations Parameters 🔁
  • Mobile Support 📱
  • Post Processing Effects 🎨

📝 Planned

  • More Post Processing Effects

🤔 How does it work? 🤔

https://en.wikipedia.org/wiki/Newton_fractal

Once a polynomial is entered, we automatically calculate the derivative and the roots (via Durand-Kerner iteration) of the polynomial. We then render the fractal by iterating over each pixel and applying Newton's method to find the root that the pixel converges to. We then color the pixel based on the root that it converges to.

This is a short summary since i could not be bothered to write up more for the readme but feel free to contact me if you have any questions.

🚀 Usage 🚀

To start the viewer, run the development server:

npm run dev