Skip to content

Instantly share code, notes, and snippets.

@zenon
zenon / JuliaSquared.jl
Last active July 12, 2022 03:15
Julia^2: Julia sets in Julia, using Interact. I'd like it faster.
using Plots, Interact, Base.Threads, BenchmarkTools
# only called by resize.
function batchify(maxIndex, numBatches)
if mod(maxIndex, numBatches) == 0
n = numBatches
else
n = numBatches - 1
end
batchSize = div(maxIndex, n)
@Wikunia
Wikunia / Manifest.toml
Last active October 2, 2023 20:34
Mandelbrot Set in Julia
# This file is machine-generated - editing it directly is not advised
[[AbstractFFTs]]
deps = ["LinearAlgebra"]
git-tree-sha1 = "051c95d6836228d120f5f4b984dd5aba1624f716"
uuid = "621f4979-c628-5d54-868e-fcf4e3e8185c"
version = "0.5.0"
[[AbstractTrees]]
deps = ["Markdown"]