Skip to content

Commit

Permalink
Upload images
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-veselov committed Aug 10, 2024
1 parent e1d9288 commit 78069ea
Show file tree
Hide file tree
Showing 20 changed files with 40 additions and 12 deletions.
28 changes: 28 additions & 0 deletions data/bookmarks.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
]
}
Binary file added images/0.115116634_m0.62786551400000001_1500.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/0.28601675599999998_m0.011559813_3000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/0.28601675599999998_m0.011559813_500.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/m0.028375015_m0.69465449800000001_100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/m1.4034457769999999_1.2e-08_10000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/m1.7665147779999999_0.041721319_2000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/m1.940157353_0_600000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions include/core/mandelbrot/core/cuda/palettes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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),
Expand All @@ -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);

Expand Down
8 changes: 4 additions & 4 deletions src/core/cuda/coloring.cu
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 78069ea

Please sign in to comment.