diff --git a/data/bookmarks.json b/data/bookmarks.json index 3e14c62..ed7dadc 100644 --- a/data/bookmarks.json +++ b/data/bookmarks.json @@ -48,6 +48,34 @@ { "position": {"real": -1.3944205750, "imag": 0.0018272120}, "zoom": 30000.0 + }, + { + "position": {"real": -1.3944205750, "imag": 0.0018272120}, + "zoom": 5000.0 + }, + { + "position": {"real": -1.3962166430, "imag": 0.0042737730}, + "zoom": 1000.0 + }, + { + "position": {"real": -1.4034457770, "imag": 0.0000000120}, + "zoom": 10000.0 + }, + { + "position": {"real": -1.7665147780, "imag": 0.0417213190}, + "zoom": 2000.0 + }, + { + "position": {"real": -1.7687788290, "imag": 0.0017389240}, + "zoom": 2000000.0 + }, + { + "position": {"real": -1.9401573530, "imag": 0.0000000000}, + "zoom": 600000.0 + }, + { + "position": {"real": -0.7746806106269039, "imag": 0.1374168856037867}, + "zoom": 663991421434.0 } ] } \ No newline at end of file diff --git a/images/0.115116634_m0.62786551400000001_1500.png b/images/0.115116634_m0.62786551400000001_1500.png new file mode 100644 index 0000000..6d4f68d Binary files /dev/null and b/images/0.115116634_m0.62786551400000001_1500.png differ diff --git a/images/0.23533695499999999_m0.51526230500000003_1500.png b/images/0.23533695499999999_m0.51526230500000003_1500.png new file mode 100644 index 0000000..26201bd Binary files /dev/null and b/images/0.23533695499999999_m0.51526230500000003_1500.png differ diff --git a/images/0.27664331199999997_m0.0091976760000000001_10000.png b/images/0.27664331199999997_m0.0091976760000000001_10000.png new file mode 100644 index 0000000..d0338ee Binary files /dev/null and b/images/0.27664331199999997_m0.0091976760000000001_10000.png differ diff --git a/images/0.28601675599999998_m0.011559813_3000.png b/images/0.28601675599999998_m0.011559813_3000.png new file mode 100644 index 0000000..65f50c4 Binary files /dev/null and b/images/0.28601675599999998_m0.011559813_3000.png differ diff --git a/images/0.28601675599999998_m0.011559813_500.png b/images/0.28601675599999998_m0.011559813_500.png new file mode 100644 index 0000000..97f064a Binary files /dev/null and b/images/0.28601675599999998_m0.011559813_500.png differ diff --git a/images/0.28893504399999997_0.012374825000000001_4000.png b/images/0.28893504399999997_0.012374825000000001_4000.png new file mode 100644 index 0000000..3161caa Binary files /dev/null and b/images/0.28893504399999997_0.012374825000000001_4000.png differ diff --git a/images/0.43794109799999997_m0.34187543500000001_500.png b/images/0.43794109799999997_m0.34187543500000001_500.png new file mode 100644 index 0000000..f6bc189 Binary files /dev/null and b/images/0.43794109799999997_m0.34187543500000001_500.png differ diff --git a/images/m0.028375015_m0.69465449800000001_100.png b/images/m0.028375015_m0.69465449800000001_100.png new file mode 100644 index 0000000..afcd609 Binary files /dev/null and b/images/m0.028375015_m0.69465449800000001_100.png differ diff --git a/images/m0.106750445_m0.88282584799999997_200000.png b/images/m0.106750445_m0.88282584799999997_200000.png new file mode 100644 index 0000000..05b44bd Binary files /dev/null and b/images/m0.106750445_m0.88282584799999997_200000.png differ diff --git a/images/m0.77468061062690385_0.1374168856037867_663991421434.png b/images/m0.77468061062690385_0.1374168856037867_663991421434.png new file mode 100644 index 0000000..9473854 Binary files /dev/null and b/images/m0.77468061062690385_0.1374168856037867_663991421434.png differ diff --git a/images/m1.3944205750000001_0.0018272119999999999_30000.png b/images/m1.3944205750000001_0.0018272119999999999_30000.png new file mode 100644 index 0000000..fd4f17e Binary files /dev/null and b/images/m1.3944205750000001_0.0018272119999999999_30000.png differ diff --git a/images/m1.3944205750000001_0.0018272119999999999_5000.png b/images/m1.3944205750000001_0.0018272119999999999_5000.png new file mode 100644 index 0000000..c861e58 Binary files /dev/null and b/images/m1.3944205750000001_0.0018272119999999999_5000.png differ diff --git a/images/m1.396216643_0.0042737729999999998_1000.png b/images/m1.396216643_0.0042737729999999998_1000.png new file mode 100644 index 0000000..27b0987 Binary files /dev/null and b/images/m1.396216643_0.0042737729999999998_1000.png differ diff --git a/images/m1.4034457769999999_1.2e-08_10000.png b/images/m1.4034457769999999_1.2e-08_10000.png new file mode 100644 index 0000000..be406c0 Binary files /dev/null and b/images/m1.4034457769999999_1.2e-08_10000.png differ diff --git a/images/m1.7665147779999999_0.041721319_2000.png b/images/m1.7665147779999999_0.041721319_2000.png new file mode 100644 index 0000000..f7eebae Binary files /dev/null and b/images/m1.7665147779999999_0.041721319_2000.png differ diff --git a/images/m1.7687788289999999_0.001738924_2000000.png b/images/m1.7687788289999999_0.001738924_2000000.png new file mode 100644 index 0000000..b71e327 Binary files /dev/null and b/images/m1.7687788289999999_0.001738924_2000000.png differ diff --git a/images/m1.940157353_0_600000.png b/images/m1.940157353_0_600000.png new file mode 100644 index 0000000..c9054af Binary files /dev/null and b/images/m1.940157353_0_600000.png differ diff --git a/include/core/mandelbrot/core/cuda/palettes.h b/include/core/mandelbrot/core/cuda/palettes.h index fe24b3f..84c428f 100644 --- a/include/core/mandelbrot/core/cuda/palettes.h +++ b/include/core/mandelbrot/core/cuda/palettes.h @@ -24,6 +24,11 @@ __device__ static constexpr uint32_t pretty_palette[] = { MakeRGB(254, 173, 122), MakeRGB(243, 112, 95), MakeRGB(205, 53, 82), MakeRGB(128, 18, 70)}; +__device__ static constexpr uint32_t gradient_palette[] = { + MakeRGB(15, 32, 80), MakeRGB(69, 117, 180), MakeRGB(116, 173, 209), + MakeRGB(171, 217, 233), MakeRGB(224, 243, 248), MakeRGB(253, 219, 199), + MakeRGB(244, 165, 130), MakeRGB(214, 96, 77), MakeRGB(178, 24, 43)}; + __device__ static constexpr uint32_t artistic_palette[] = { MakeRGB(5, 4, 32), MakeRGB(36, 5, 91), MakeRGB(142, 13, 172), MakeRGB(203, 32, 198), MakeRGB(251, 78, 168), MakeRGB(255, 127, 127), @@ -40,11 +45,6 @@ __device__ static constexpr uint32_t natural_palette[] = { MakeRGB(106, 191, 139), MakeRGB(53, 158, 118), MakeRGB(29, 105, 78), MakeRGB(18, 63, 52)}; -__device__ static constexpr uint32_t gradient_palette[] = { - MakeRGB(15, 32, 80), MakeRGB(69, 117, 180), MakeRGB(116, 173, 209), - MakeRGB(171, 217, 233), MakeRGB(224, 243, 248), MakeRGB(253, 219, 199), - MakeRGB(244, 165, 130), MakeRGB(214, 96, 77), MakeRGB(178, 24, 43)}; - __device__ static constexpr uint32_t cosmic_palette[] = { MakeRGB(12, 12, 35), MakeRGB(23, 23, 50), MakeRGB(45, 45, 90), MakeRGB(67, 67, 120), MakeRGB(100, 100, 155), MakeRGB(140, 140, 190), @@ -66,15 +66,15 @@ __device__ static constexpr size_t blue_palette_size = __device__ static constexpr size_t pretty_palette_size = sizeof(pretty_palette) / sizeof(uint32_t); +__device__ static constexpr size_t gradient_palette_size = + sizeof(gradient_palette) / sizeof(uint32_t); + __device__ static constexpr size_t artistic_palette_size = sizeof(artistic_palette) / sizeof(uint32_t); __device__ static constexpr size_t natural_palette_size = sizeof(natural_palette) / sizeof(uint32_t); -__device__ static constexpr size_t gradient_palette_size = - sizeof(gradient_palette) / sizeof(uint32_t); - __device__ static constexpr size_t cosmic_palette_size = sizeof(cosmic_palette) / sizeof(uint32_t); diff --git a/src/core/cuda/coloring.cu b/src/core/cuda/coloring.cu index df481e2..e8d63ec 100644 --- a/src/core/cuda/coloring.cu +++ b/src/core/cuda/coloring.cu @@ -202,12 +202,12 @@ __global__ void KenrelColor(uint32_t* data, uint32_t image_width, Mode4, Mode5, Mode6, Mode7}; const uint32_t* palettes[] = { - blue_palette, pretty_palette, artistic_palette, natural_palette, - gradient_palette, cosmic_palette, black_white_palette}; + blue_palette, pretty_palette, gradient_palette, artistic_palette, + natural_palette, cosmic_palette, black_white_palette}; size_t palettes_size[] = {blue_palette_size, pretty_palette_size, - artistic_palette_size, natural_palette_size, - gradient_palette_size, cosmic_palette_size, + gradient_palette_size, artistic_palette_size, + natural_palette_size, cosmic_palette_size, black_white_palette_size}; constexpr auto kModes = sizeof(mode_functions) / sizeof(ModeFunction);