TaichiMakie.jl

Author lucifer1004
Popularity
5 Stars
Updated Last
9 Months Ago
Started In
December 2022

TaichiMakie

Stable Dev Build Status Coverage

Usage

Just like any other Makie.jl backend, you can simply using TaichiMakie and then do plots.

using TaichiMakie

fig = Figure(resolution = (600, 600))
ax = Axis(fig[1, 1], xlabel = "x", ylabel = "y")
lines!(ax, 1:10, 1:10)
save("test.png", fig)

Gallery

Contour plot

Contour plot

Heatmap

Heatmap

Histogram

Histogram

Scatter plot

Scatter

Violin plot

Violin

Layout

Layout

This plot contains some bugs.

Known Issues

  • The notorious time-to-first-plot (TTFP) issue.
    • To mitigate this, you can use deps/create_sysimage.jl to create a sysimage for TaichiMakie. This will significantly reduce the TTFP.
    • After creating the sysimage, you can use julia --sysimage=taichi_makie.so to start Julia with the sysimage.
  • Taichi GGUI does not support the following features:
    • anti-aliasing
    • alpha
  • Support for meshes is still erroneous.