MCPcopy Create free account

hub / github.com/Icelk/strange-attractor-renderer / functions

Functions43 in github.com/Icelk/strange-attractor-renderer

↓ 6 callersMethodsquare
(self)
src/lib.rs:95
↓ 4 callersMethodreset
doesn't happen
src/lib.rs:682
↓ 3 callersFunctionfile
Open a writeable file at `path`. Panics at any errors.
src/bin/main.rs:102
↓ 3 callersMethodmagnitude
(self)
src/lib.rs:129
↓ 3 callersMethodnum_threads
Number of initiated threads, usually used to construct the `job_counter` at [`Self::send`].
src/lib.rs:1015
↓ 3 callersMethodsend
Send the `job` to all threads.
src/lib.rs:1006
↓ 3 callersFunctionwrite_image
helper to write file using a generic encoder (e.g. PNG, BMP)
src/bin/main.rs:28
↓ 2 callersFunctioncolorize
( config: &Config<impl Attractor, impl ColorTransform>, runtime: &Runtime, )
src/lib.rs:841
↓ 2 callersMethodnext_point
(&self, p: crate::Vec3)
src/lib.rs:585
↓ 2 callersFunctionrender
(config: &Config<impl Attractor, impl ColorTransform>, runtime: &mut Runtime)
src/lib.rs:747
↓ 2 callersFunctionrun
( inherit: Config<impl Attractor + Send + Sync + 'static, impl ColorTransform>, matches: &ArgMatches,
src/bin/main.rs:411
↓ 2 callersMethodset_width_height
Makes new textures if the width and height don't match the inner textures.
src/lib.rs:667
↓ 2 callersFunctionwrite_image_matches
Write image from user input. Split out from main to allow both single-threaded and multithreaded
src/bin/main.rs:40
↓ 1 callersMethodinterpolate
(&self, value: f64)
src/lib.rs:442
↓ 1 callersMethodmerge
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 callersMethodmul_right
(&self, vec: Vec3)
src/lib.rs:208
↓ 1 callersMethodnext
(&mut self)
src/bin/main.rs:137
↓ 1 callersMethodnormalize
(self)
src/lib.rs:134
↓ 1 callersFunctionpart
(p: Vec3, coeffs: &View)
src/lib.rs:522
↓ 1 callersFunctionpoisson_saturne
(delta: Vec3, screen_space: Vec3, coeffs: &View)
src/lib.rs:520
↓ 1 callersMethodrecv
Blocks on receiving access to the thread's runtimes. Access them though the [`Mutex`].
src/lib.rs:1011
↓ 1 callersFunctionrender_parallel
( renderer: &mut ParallelRenderer<A, T>, mut config: Config<A, T>, jobs_per_thread: usize, )
src/lib.rs:1051
↓ 1 callersMethodshutdown
(self)
src/lib.rs:1020
↓ 1 callersMethodto_rotation_matrix
(self)
src/lib.rs:179
↓ 1 callersMethodtransform
(&self, delta: Vec3, screen_space: Vec3, view: &View)
src/lib.rs:246
Methodadd
(self, rhs: Self)
src/lib.rs:149
Methodcount
(&self)
src/lib.rs:435
Methoddefault
()
src/lib.rs:398
Methodempty
You have to [`Self::set_width_height`] before using this.
src/lib.rs:649
Methodfrom_rgb
(r: [f64; LEN], g: [f64; LEN], b: [f64; LEN])
src/lib.rs:425
Methodimage_identity
Returns an empty image of any pixel type.
src/lib.rs:677
Methodindex
(&self, index: (usize, usize))
src/lib.rs:220
Methodlerp
(self, other: Self, t: Self)
src/lib.rs:99
Functionmain
()
src/bin/main.rs:178
Methodmul
(self, v: f64)
src/lib.rs:156
Methodnew
(x: f64, y: f64, z: f64)
src/lib.rs:122
Methodnew
(start: f64, end: f64, step: f64, file: PathBuf)
src/bin/main.rs:116
Functionparse_validate
validate that a argument passed by the user is valid, according to the parsing of type `T`.
src/bin/main.rs:21
Methodpoisson_saturne
()
src/lib.rs:310
Methodsample
(&self, rng: &mut R)
src/lib.rs:162
Methodsolar_sail
()
src/lib.rs:355
Methodsub
(self, rhs: Self)
src/lib.rs:142
Methodsum_coefficients
polynomials is a reference to an array with 10 f64s.
src/lib.rs:588