Skip to content

Commit

Permalink
Merge pull request #291 from mpeters2/patch-1
Browse files Browse the repository at this point in the history
Update livegraphics.md
  • Loading branch information
cormullion authored Dec 16, 2023
2 parents 6a795b2 + 84e1b8d commit 6abe7ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/howto/livegraphics.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,18 +266,18 @@ Next we'll create three Luxor drawings that connect to these buffers.
```julia
d1 = Drawing(buffer1)

Luxor.set_next_drawing_index()
Luxor._set_next_drawing_index()
d2 = Drawing(buffer2)

Luxor.set_next_drawing_index()
Luxor._set_next_drawing_index()
d3 = Drawing(buffer3, "julia.png")
```

We now have three drawings which are continuously updated and visible in three separate windows.
Let's start by drawing on drawing 1.

```julia
Luxor.set_drawing_index(1)
Luxor._set_drawing_index(1)
origin()
setopacity(0.4)
foregroundcolors = Colors.diverging_palette(
Expand Down

0 comments on commit 6abe7ad

Please sign in to comment.