Commit Graph

  • eb47f28e0f Update num crate to 0.4.1. PengTianJun 2024-01-23 15:28:44 +0800
  • 393e681baf Fixed and silenced a bunch of clippy warnings. Patrick Nadeau 2023-03-10 10:45:31 -0500
  • 3be716369a Moved `MyError` to its own crate. Patrick Nadeau 2023-03-10 10:18:23 -0500
  • 427528afa7 Merged branch 'improve_memory_efficiency' into master. Patrick Nadeau 2023-03-09 10:37:09 -0500
  • f6fbb95376 Moved the smooth colour index conversion from `escape_time()` to `process_point()`. Patrick Nadeau 2023-03-09 10:18:04 -0500
  • 0252e03096 Renamed `Iteration` to `Pixel` and changed it from `usize` to a `u16`. Patrick Nadeau 2023-03-09 07:54:52 -0500
  • 5f183ba7f4 WIP: Double check this! Patrick Nadeau 2023-03-08 20:31:07 -0500
  • be48fc5273 Merge branch 'colour' into master. Patrick Nadeau 2023-03-08 18:43:03 -0500
  • d5d53e741d Changed the palette spline parameters. Patrick Nadeau 2023-03-08 18:04:48 -0500
  • 26c70265c6 Fixed a bug which was limiting the escape time to 255. Patrick Nadeau 2023-03-08 17:30:13 -0500
  • f69d49a809 Changed signature of `process_point()` Patrick Nadeau 2023-03-08 14:57:53 -0500
  • 02a437bff4 Clamp smooth index to prevent index out of bounds. May need further investigation. Patrick Nadeau 2023-03-08 14:39:19 -0500
  • e1ea3212a0 Added a comment. Patrick Nadeau 2023-03-08 14:21:31 -0500
  • 610b1662b4 Implemented smooth colour gradient. Patrick Nadeau 2023-03-08 14:14:06 -0500
  • 15747877ba Changed the type of the pixels array from ` [u16]` to `[Option<Iteration>]` to support the upcoming smooth gradient algorithm. Patrick Nadeau 2023-03-08 13:42:46 -0500
  • cac8f25b60 Made the set interior properly black. Patrick Nadeau 2023-03-08 11:20:54 -0500
  • 44c3f35f9e Implemented a colour palette based on Ultra Fractal. Patrick Nadeau 2023-03-08 11:20:26 -0500
  • 23261e9b16 Fixed some clippy warnings, silenced others. Patrick Nadeau 2023-03-07 14:00:56 -0500
  • e4bceda804 Split the code up into separate files and did a bit of cleanup. Patrick Nadeau 2023-03-07 13:57:49 -0500
  • f0c8441ae5 Renamed a variable. Patrick Nadeau 2023-03-07 13:44:33 -0500
  • aaf7fd6fbb Merged branch 'command_line_args' into master. Patrick Nadeau 2023-03-07 13:40:20 -0500
  • 13e9cdfd6e Fixed the bug with how the [x|y][Min|Max] values were boing computed in `cmdline.rs` Patrick Nadeau 2023-03-07 13:39:45 -0500
  • 7731b48edb Renamed default output file to `mandelbrot.png`. Patrick Nadeau 2023-03-07 13:37:00 -0500
  • bd6e78ed15 WIP: Works, sort of. Has precision problems and the aspect ratio seems off. Patrick Nadeau 2023-03-07 12:43:12 -0500
  • b428f977b4 WIP: First pass at computing ImageInfo based on the cmdline arguments. Compiles but untested. Patrick Nadeau 2023-03-07 10:55:52 -0500
  • 3c5d2cfb61 Removed some commented code. Patrick Nadeau 2023-03-07 07:28:21 -0500
  • 5ba5523928 Sped it up by ensuring that the join calls are made from within the threadppol. Patrick Nadeau 2023-03-06 22:02:08 -0500
  • 1c3581174b Removed the cmdline args pertaining to 'partitions'. Patrick Nadeau 2023-03-06 16:09:15 -0500
  • 1a8c76e152 Copied over the cmdline args from the Go version. Compiles, but untested. Patrick Nadeau 2023-03-06 16:08:35 -0500
  • 9835f64d72 Silenced a clippy warning. Patrick Nadeau 2023-03-06 15:20:38 -0500
  • af225bef7c Added a little bit of optimization to the debug profile. Patrick Nadeau 2023-03-06 10:21:48 -0500
  • f44f9575b1 Updated the CLIon run config to render at 1000x750, which corrects the aspect ratio. Stored the run config in a file. Patrick Nadeau 2023-03-06 10:13:40 -0500
  • 356d56504c Removed some unused code. Patrick Nadeau 2023-03-06 10:09:38 -0500
  • 8deeda05bd Merge branch 'thread_per_partition' Patrick Nadeau 2023-03-06 10:08:51 -0500
  • 21a385e759 Finally got it working by using rayon::join()! 🎆 Patrick Nadeau 2023-03-06 09:22:33 -0500
  • 8a3f5720e3 WIP busted. Patrick Nadeau 2023-03-03 15:42:12 -0500
  • 31bbe6d24b WIP: Made process_rectangle non recursive. Patrick Nadeau 2023-03-03 14:45:50 -0500
  • aef3ead2ed Removed the unused `render` function, and silenced clippy. Patrick Nadeau 2022-12-16 19:02:49 -0500
  • c0140f9979 WIP: Won't even compile. Patrick Nadeau 2022-12-16 15:32:46 -0500
  • c7870d0ba9 Ignored an output file. Patrick Nadeau 2022-12-16 15:16:00 -0500
  • 1470d642f3 Fixed a few bugs: Patrick Nadeau 2022-12-16 15:12:42 -0500
  • 0e3f31e7e7 Started to implement process_partition, but it seems to get stuck in an infinite loop. Patrick Nadeau 2022-12-16 14:19:11 -0500
  • 5d70a67c44 Got it to work while passing a shared mutable copy of `pixels` using `SyncUnsafe`. Patrick Nadeau 2022-12-16 11:26:44 -0500
  • dc981b2901 WIP: Used Rayon `scope` to create the tasks instead of `into_par_iter`. Works bu only transitional. Patrick Nadeau 2022-12-15 15:38:00 -0500
  • 705f07319f Introduced the concept of a `Partition` to replace the bounds, upper_left, and lower_right variables we were passing around. Patrick Nadeau 2022-12-15 12:59:41 -0500
  • cd15cc38d2 Moved all tests to a test module. Patrick Nadeau 2022-12-15 11:41:02 -0500
  • e9fd0058ea Updated image dependency to `0.24.5`. Patrick Nadeau 2022-12-15 09:29:18 -0500
  • 789f4d948e Merge branch 'rug_bignum' Patrick Nadeau 2022-12-15 09:28:16 -0500
  • cb6b98677e Fixed some clippy warnings. Patrick Nadeau 2022-12-14 18:28:14 -0500
  • e52622aab5 WIP: Got the code to compile and run using 'rug' Bignums instead of f64s. Patrick Nadeau 2022-12-14 17:33:56 -0500
  • 2ba847967e README.md: Clarify multiple versions. master Jim Blandy 2021-12-20 10:48:30 -0800
  • 21f57af0a5 Fix 2 minor clippy warnings Rafael Bachmann 2021-09-22 23:15:35 +0200
  • 5bbba8d23c Fix build by updating dependencies Rafael Bachmann 2021-09-22 23:08:50 +0200
  • 510076407a
    Updated write_image to use std::result::Result giacomo-b 2021-07-30 15:06:07 -0700
  • ae615d2292 Merge branch 'common-fixes' into task-queue. Update to crossbeam 0.8. task-queue Jim Blandy 2021-06-12 21:01:58 -0700
  • 1dfcf6f51b Fix band bounds computation. lockfree Jim Blandy 2021-06-12 20:58:42 -0700
  • 0e70e12c1f Merge branch 'common-fixes' into lockfree Jim Blandy 2021-06-12 16:58:42 -0700
  • f10fe6859f Merge branch 'common-fixes' into rayon. Update to match 2nd ed text. rayon Jim Blandy 2021-06-12 16:42:19 -0700
  • 93ad3f7893 Update to match 2nd edition text. bands Jim Blandy 2021-06-12 15:25:29 -0700
  • 65a5d1cb59 Merge branch 'common-fixes' into bands Jim Blandy 2021-06-12 15:22:27 -0700
  • 9fe19ff6ba cargo update single-threaded common-fixes Jim Blandy 2021-06-12 15:21:04 -0700
  • 5cce108ed5 Require rust_2018_idioms, but not elided_lifetimes_in_paths. Jim Blandy 2021-06-12 15:18:07 -0700
  • faf5b895f8 Update to match 2nd edition text. Jim Blandy 2021-06-12 15:16:25 -0700
  • e033ce27dc Merge branch 'rayon' Jim Blandy 2021-06-06 20:38:19 -0700
  • e6c99b0852 Merge branch 'common-fixes' into rayon Jim Blandy 2021-06-06 20:37:09 -0700
  • e4c037213c Merge branch 'common-fixes' into lockfree Jim Blandy 2021-06-06 20:36:02 -0700
  • 2fd6b283fa Merge branch 'common-fixes' into task-queue Jim Blandy 2021-06-06 20:34:38 -0700
  • 68f9f371aa Merge branch 'common-fixes' into bands Jim Blandy 2021-06-06 20:33:26 -0700
  • a5cb80452b use cargo64 alias, use eprintln for stderr Horki 2021-03-19 20:41:22 +0100
  • 48f6b29d2e Set master branch to be rayon; that's the final version we show. Jim Blandy 2019-09-02 20:23:24 -0700
  • 5bfb68430f cargo fix --edition-idioms Jim Blandy 2019-09-02 20:15:46 -0700
  • ecd861f8bc Merge branch 'common-fixes' into lockfree Jim Blandy 2019-09-02 20:15:20 -0700
  • be24958428 cargo fix --edition-idioms Jim Blandy 2019-09-02 20:14:38 -0700
  • a3a6f3474b Merge branch 'common-fixes' into task-queue Jim Blandy 2019-09-02 20:13:34 -0700
  • ebe0223b49 cargo fix --edition-idioms Jim Blandy 2019-09-02 20:13:06 -0700
  • 313c6b2577 Merge branch 'common-fixes' into rayon Jim Blandy 2019-09-02 20:12:22 -0700
  • 287b4564b6 Upgrade to Rust 2018, with idioms Jim Blandy 2019-09-02 20:11:03 -0700
  • bc6adf9eea Merge branch 'common-fixes' into single-threaded Jim Blandy 2019-09-02 18:13:35 -0700
  • 1628924fdb cargo fix --edition-idioms Jim Blandy 2019-09-02 18:12:31 -0700
  • 5548686cfe Bump edition to 2018. Jim Blandy 2019-09-02 18:10:42 -0700
  • ac6eb7a986 Cargo.toml, src/main.rs: Update to match text in book. Jim Blandy 2019-09-02 18:05:19 -0700
  • cbfad8bb03 src/main.rs: Clean up warnings. Jim Blandy 2019-09-02 17:29:07 -0700
  • 8d0d5f667c Cargo.toml, src/main.rs: Update to match text in book. Jim Blandy 2019-09-02 17:27:35 -0700
  • 4eed9cabc0 Cargo.toml, src/main.rs: Update to match text in book. Jim Blandy 2019-09-02 17:24:11 -0700
  • 8a576b9186 Cargo.toml, src/main.rs: Update to match text in book. Jim Blandy 2019-09-02 17:15:58 -0700
  • 4c0bce2e18 Cargo.toml, src/main.rs: Update to match text in book. Jim Blandy 2019-09-02 17:08:51 -0700
  • 0b1c8eb4f2 main.rs: Update to match text in book. Jim Blandy 2019-09-02 17:03:32 -0700
  • 59b8ae2673 Remove unused timing code. Jim Blandy 2019-07-13 14:41:45 -0700
  • 06a95c2c2e Remove code to measure effect of varying numbers of threads. Jim Blandy 2019-07-13 14:39:56 -0700
  • 791d5c403b Remove code to measure effect of varying numbers of threads. Jim Blandy 2019-07-13 14:35:19 -0700
  • 1a1c6913ad Merge branch 'single-threaded' of github.com:ProgrammingRust/mandelbrot into single-threaded Jim Blandy 2019-07-13 12:42:52 -0700
  • 2f142a404a Merge branch 'rayon' of github.com:ProgrammingRust/mandelbrot into rayon Jim Blandy 2019-07-13 12:42:07 -0700
  • cabfefb8cf Merge branch 'master' of github.com:ProgrammingRust/mandelbrot Jim Blandy 2019-07-13 12:41:21 -0700
  • f827f4ad1b Merge branch 'lockfree' of github.com:ProgrammingRust/mandelbrot into lockfree Jim Blandy 2019-07-13 12:40:43 -0700
  • d2bf230c87 Merge branch 'common-fixes' of github.com:ProgrammingRust/mandelbrot into common-fixes Jim Blandy 2019-07-13 12:40:10 -0700
  • a25298cebc Merge branch 'bands' of github.com:ProgrammingRust/mandelbrot into bands Jim Blandy 2019-07-13 12:38:39 -0700
  • be390df13d Merge branch 'task-queue' of github.com:ProgrammingRust/mandelbrot into task-queue Jim Blandy 2019-07-13 12:37:01 -0700
  • 52fa512007 Update image crate to 0.10.4. Jim Blandy 2019-07-13 12:34:21 -0700
  • 1ffdc9308f Update image crate to 0.10.4. Jim Blandy 2019-07-13 12:33:06 -0700
  • 438c06a8ad Update image crate to 0.10.4. Jim Blandy 2019-07-13 12:32:18 -0700