I´m currently working on a Jupyter file and with Julia version 1.5.3 on a Windows computer, using Luxor. I have an array of arrays and a function (dibujar_matriz) which creates a table based on the entries of each array.
function dibujar_matriz(M, a, b, c)
k = size(M) l = size(M) background("Black") t = Table(k, l, 500/k, 500/l) for i ∈ 1:l for j ∈ 1:k if M[j,i] == 1 sethue(a,b,c) #Color de la matriz box(t, j, i, :fill) end end end
I have been displaying these using @png which works fine, but I would like to display them in a torus shape instead of as a plane image. The idea is for it to look like this:
Any help will be truly appreciated!