Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ProgrammingRust/mandelbrot
/ functions
Functions
10 in github.com/ProgrammingRust/mandelbrot
⨍
Functions
10
◇
Types & classes
0
↓ 3 callers
Function
pixel_to_point
Given the row and column of a pixel in the output image, return the corresponding point on the complex plane. `bounds` is a pair giving the width and
src/main.rs:83
↓ 2 callers
Function
parse_complex
Parse a pair of floating-point numbers separated by a comma as a complex number.
src/main.rs:62
↓ 2 callers
Function
parse_pair
Parse the string `s` as a coordinate pair, like `"400x600"` or `"1.0,0.5"`. Specifically, `s` should have the form <left><sep><right>, where <sep> is
src/main.rs:37
↓ 1 callers
Function
escape_time
Try to determine if `c` is in the Mandelbrot set, using at most `limit` iterations to decide. If `c` is not a member, return `Some(i)`, where `i` is
src/main.rs:15
↓ 1 callers
Function
render
Render a rectangle of the Mandelbrot set into a buffer of pixels. The `bounds` argument gives the width and height of the buffer `pixels`, which hold
src/main.rs:113
↓ 1 callers
Function
write_image
Write the buffer `pixels`, whose dimensions are given by `bounds`, to the file named `filename`.
src/main.rs:139
Function
main
()
src/main.rs:154
Function
test_parse_complex
()
src/main.rs:70
Function
test_parse_pair
()
src/main.rs:50
Function
test_pixel_to_point
()
src/main.rs:100