# Mandelbrot Set : 3D landscape viewer

**URL:** <https://discourse.processing.org/t/mandelbrot-set-3d-landscape-viewer/46075>\
**Category:** Gallery\
**Created:** [March 26, 2025, 5:15pm UTC](https://discourse.processing.org/t/mandelbrot-set-3d-landscape-viewer/46075 "2025-03-26T17:15:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)\
**Post date:** [March 26, 2025, 5:15pm UTC](https://discourse.processing.org/t/mandelbrot-set-3d-landscape-viewer/46075/1 "2025-03-26T17:15:23Z")

</div>

I created this sketch for 2 reasons

1. I want to learn more about using p5.geometry in p5js. The p5js documentation hardly scratches the surface and this excellent [tutorial](https://www.paulwheeler.us/articles/custom-3d-geometry-in-p5js/) is a great starting place but there are many hidden depths to explore and learn.
2. I always fancied creating a 3D Mandelbrot viewer 😁

So here is a 3D rendering of part of the Mandelbrot set using 2 million triangles 🤩. The sketch uses orbitControl so you can zoom, rotate and pan the view with the mouse. The source code is fully documented and includes data to display the full set.

Enjoy!

https://editor.p5js.org/quark-js/full/a66nZnMAY
