Skip to content

Drawing Newton's fractal using js, wasm, SIMD commands, threads and GPU

Notifications You must be signed in to change notification settings

widemeadows/newton-fractal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Newton's fractal

Runtime Newton's fractal renderer.

>>Click<< to open in your browser

Inspired by 3blue1brown's video about Newton's fractal.

Demo preview

Drawing techniques

2. Rust-WASM: scalar fractal_calculation.rs and geometry.rs

3. Rust-WASM: SIMD commands fractal_calculation.rs and simd_math.rs (includes comments)

4. GPU glslsources: webgl2_drawing.ts and gl_manager.ts
shaders: vertex.vert and fragment.frag

5. Multithreading for 1-3 techniquesdrawing_manager.ts and drawing_worker.ts

About

Drawing Newton's fractal using js, wasm, SIMD commands, threads and GPU

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 49.1%
  • Rust 24.8%
  • JavaScript 13.7%
  • HTML 10.0%
  • GLSL 2.4%