Giter Club home page Giter Club logo

mandelbrotset's Introduction

Mandelbrot Set

GPU计算曼德博集和朱利亚集

无法加载图片的话,在 hosts 文件中添加199.232.68.133 raw.githubusercontent.com,或点这里

曼德博集

取复平面上的点$c$,生成一个数列$\lbrace z_n \rbrace$,其中$z_0=0$,$z_n=z_{n-1}^2+c$,若$\lbrace z_n \rbrace$不发散,则点$c$属于曼德博集。

MandelbrotSet_1024x576.png

3840x2160

将曼德博集内的点涂成黑色,外部的点根据$\lbrace z_n \rbrace$的发散速度涂成不同颜色,上色方案如下图

20200815192850.svg

朱利亚集

取复平面上的点$z_0$,生成一个数列$\lbrace z_n \rbrace$,其中$z_n=z_{n-1}^2+c,(c \in {\mathbb C})$,若$\lbrace z_n \rbrace$不发散,则点$z_0$属于朱利亚集。下图为$c = -0.77+0.14i$时的朱利亚集。

JuliaSet_1024x576.png

3840x2160

下图为$c$取不同值时得到的朱利亚集

20200815220134.png

下图为改变$c$点时,朱利亚集的变化

20200816194113.gif

mandelbrotset's People

Contributors

chdilo avatar

Stargazers

Timothy avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.