Skip to content

Commit 1e74392

Browse files
Morphs and Partially draw Objects (#482)
* overrides for strokepath , strokepreserve , fillpath and fillpreserve, also introduces new pathtopoly * JPath struct added to Object.jl , getjpaths() and drawobj_jpaths(obj) written * morph now modifies draws morphed jpaths , and calls original object.func with luxor draw disabled * morphing with Animations.jl using functions * partial draw
1 parent 6add2f2 commit 1e74392

55 files changed

Lines changed: 1608 additions & 170 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
version:
12-
- '1.5'
12+
- '1.6'
1313
- '1'
1414
os:
1515
- ubuntu-latest

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22

33
# PR changes
44
- changed render method for mp4 to use ffmpeg directly inplace of VideoIO
5-
5+
- Added jpaths a field in Object that is useful for morphs and partial drawing
6+
- Added morphs to arbitrary objects and functions.
7+
- Keyframed morphs with Animations.jl are possible.
8+
- Added ability to partially draw any object, and have animations of showing them get created.
9+
- One tutorial added on how to use morphs
10+
- tutorial on partial draw / show creation
11+
- Few tests for morphs added
12+
- test for partial draw/ show creation
613

714
## v0.9.0 (26th of May 2022)
815
- Ability to use Luxor functionality without rendering an animation

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ Images = "0.20, 0.21, 0.22, 0.23, 0.24, 0.25"
3636
Interact = "0.10"
3737
LaTeXStrings = "1.1"
3838
LightXML = "0.9"
39-
Luxor = "2.12, 3"
39+
Luxor = "3.5"
4040
ProgressMeter = "1"
41-
julia = "1.5"
41+
julia = "1.6"

docs/make.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ makedocs(;
2424
"tutorials/tutorial_6.md",
2525
"tutorials/tutorial_7.md",
2626
"tutorials/tutorial_8.md",
27+
"tutorials/tutorial_morphing.md",
28+
"tutorials/tutorial_partialdraw.md",
2729
],
2830
"HowTo" => "howto.md",
2931
"Workflows" => "workflows.md",
194 KB
Loading
340 KB
Loading

docs/src/assets/circ_to_box.gif

319 KB
Loading
269 KB
Loading

docs/src/assets/createcircle.gif

45.9 KB
Loading

docs/src/assets/createcircle2.gif

50.2 KB
Loading

0 commit comments

Comments
 (0)