Created
July 19, 2022 14:14
-
-
Save jkrumbiegel/abec5e3342e1de88dfcbf33a620604f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Author
jkrumbiegel
commented
Jul 19, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment