Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Icelk/strange-attractor-renderer
/ functions
Functions
43 in github.com/Icelk/strange-attractor-renderer
⨍
Functions
43
◇
Types & classes
17
↓ 6 callers
Method
square
(self)
src/lib.rs:95
↓ 4 callers
Method
reset
doesn't happen
src/lib.rs:682
↓ 3 callers
Function
file
Open a writeable file at `path`. Panics at any errors.
src/bin/main.rs:102
↓ 3 callers
Method
magnitude
(self)
src/lib.rs:129
↓ 3 callers
Method
num_threads
Number of initiated threads, usually used to construct the `job_counter` at [`Self::send`].
src/lib.rs:1015
↓ 3 callers
Method
send
Send the `job` to all threads.
src/lib.rs:1006
↓ 3 callers
Function
write_image
helper to write file using a generic encoder (e.g. PNG, BMP)
src/bin/main.rs:28
↓ 2 callers
Function
colorize
( config: &Config<impl Attractor, impl ColorTransform>, runtime: &Runtime, )
src/lib.rs:841
↓ 2 callers
Method
next_point
(&self, p: crate::Vec3)
src/lib.rs:585
↓ 2 callers
Function
render
(config: &Config<impl Attractor, impl ColorTransform>, runtime: &mut Runtime)
src/lib.rs:747
↓ 2 callers
Function
run
( inherit: Config<impl Attractor + Send + Sync + 'static, impl ColorTransform>, matches: &ArgMatches,
src/bin/main.rs:411
↓ 2 callers
Method
set_width_height
Makes new textures if the width and height don't match the inner textures.
src/lib.rs:667
↓ 2 callers
Function
write_image_matches
Write image from user input. Split out from main to allow both single-threaded and multithreaded
src/bin/main.rs:40
↓ 1 callers
Method
interpolate
(&self, value: f64)
src/lib.rs:442
↓ 1 callers
Method
merge
Merges the data of the two images. `other` will not be modified. This makes `self` appear as if it had been rendered with the sum of the iterations of
src/lib.rs:708
↓ 1 callers
Method
mul_right
(&self, vec: Vec3)
src/lib.rs:208
↓ 1 callers
Method
next
(&mut self)
src/bin/main.rs:137
↓ 1 callers
Method
normalize
(self)
src/lib.rs:134
↓ 1 callers
Function
part
(p: Vec3, coeffs: &View)
src/lib.rs:522
↓ 1 callers
Function
poisson_saturne
(delta: Vec3, screen_space: Vec3, coeffs: &View)
src/lib.rs:520
↓ 1 callers
Method
recv
Blocks on receiving access to the thread's runtimes. Access them though the [`Mutex`].
src/lib.rs:1011
↓ 1 callers
Function
render_parallel
( renderer: &mut ParallelRenderer<A, T>, mut config: Config<A, T>, jobs_per_thread: usize, )
src/lib.rs:1051
↓ 1 callers
Method
shutdown
(self)
src/lib.rs:1020
↓ 1 callers
Method
to_rotation_matrix
(self)
src/lib.rs:179
↓ 1 callers
Method
transform
(&self, delta: Vec3, screen_space: Vec3, view: &View)
src/lib.rs:246
Method
add
(self, rhs: Self)
src/lib.rs:149
Method
count
(&self)
src/lib.rs:435
Method
default
()
src/lib.rs:398
Method
empty
You have to [`Self::set_width_height`] before using this.
src/lib.rs:649
Method
from_rgb
(r: [f64; LEN], g: [f64; LEN], b: [f64; LEN])
src/lib.rs:425
Method
image_identity
Returns an empty image of any pixel type.
src/lib.rs:677
Method
index
(&self, index: (usize, usize))
src/lib.rs:220
Method
lerp
(self, other: Self, t: Self)
src/lib.rs:99
Function
main
()
src/bin/main.rs:178
Method
mul
(self, v: f64)
src/lib.rs:156
Method
new
(x: f64, y: f64, z: f64)
src/lib.rs:122
Method
new
(start: f64, end: f64, step: f64, file: PathBuf)
src/bin/main.rs:116
Function
parse_validate
validate that a argument passed by the user is valid, according to the parsing of type `T`.
src/bin/main.rs:21
Method
poisson_saturne
()
src/lib.rs:310
Method
sample
(&self, rng: &mut R)
src/lib.rs:162
Method
solar_sail
()
src/lib.rs:355
Method
sub
(self, rhs: Self)
src/lib.rs:142
Method
sum_coefficients
polynomials is a reference to an array with 10 f64s.
src/lib.rs:588