Skip to content

Instantly share code, notes, and snippets.

@jkrumbiegel
Created July 19, 2022 14:14
Show Gist options
  • Save jkrumbiegel/abec5e3342e1de88dfcbf33a620604f7 to your computer and use it in GitHub Desktop.
Save jkrumbiegel/abec5e3342e1de88dfcbf33a620604f7 to your computer and use it in GitHub Desktop.
s = Scene(camera = campixel!)
nodes = Point2f[(100, 100), (200, 300), (100, 400), (500, 400)]
for i in 1:length(nodes)-1
for j in i+1:length(nodes)
linesegments!(s, nodes[[i, j]])
end
end
for node in nodes
x, y = node
xs = range(-20, 20, length = 10) .+ x
ys = range(-20, 20, length = 10) .+ y
heatmap!(s, xs, ys, randn(10, 10))
end
s
@jkrumbiegel
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment