Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GSoC'21] Convenience methods for objects #356

Merged
merged 46 commits into from
Aug 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
6036d4a
Implement JLine
Sov-trotter Jul 2, 2021
fe02e0b
Implement JCircle
Sov-trotter Jul 2, 2021
2e8b778
Simpler non--metadata implementation
Sov-trotter Jul 3, 2021
1b1d914
JBox and JRect
Sov-trotter Jul 3, 2021
6e3ed1b
JEllipse
Sov-trotter Jul 3, 2021
8389926
JStar
Sov-trotter Jul 3, 2021
3bf76f1
JPoly
Sov-trotter Jul 3, 2021
351e5d8
Allow for polygons
Sov-trotter Jul 3, 2021
6240011
Cleanup
Sov-trotter Jul 3, 2021
c89014b
Add docstrings
Sov-trotter Jul 3, 2021
f7efb16
Fix include
Sov-trotter Jul 3, 2021
a88f686
JShape macro
Sov-trotter Jul 3, 2021
5ab9bf2
fix change() action
Sov-trotter Jul 4, 2021
f8f7c40
Return corner point for box and rect by default
Sov-trotter Jul 4, 2021
7f9b5b8
nit
Sov-trotter Jul 4, 2021
a78f738
Allow for kwargs in jshape
Sov-trotter Jul 5, 2021
666d5cc
tests and formatting
Sov-trotter Jul 5, 2021
a4bc2fb
rounded box
Sov-trotter Jul 5, 2021
df3cd23
shorthand tutorial
Sov-trotter Jul 6, 2021
cfa71cd
return something meaningful
Sov-trotter Jul 6, 2021
3b24737
minor fix
Sov-trotter Jul 14, 2021
c23e224
Export shorthands, minor changes
Sov-trotter Jul 28, 2021
b4fb629
generate the anonymous function code
Sov-trotter Jul 28, 2021
7b1076a
Update changelog
Sov-trotter Jul 28, 2021
0ebc6ef
Merge branch 'master' into convenience_objectsv2
Sov-trotter Jul 29, 2021
8ceed59
mention the functions in the changelog
Wikunia Aug 3, 2021
9946ee7
set frames before `Background` to reuse `frames` there
Wikunia Aug 3, 2021
9f58ed9
fix tutorial links after the shifting
Wikunia Aug 3, 2021
7f9605f
Merge branch 'master' into convenience_objectsv2
Wikunia Aug 3, 2021
4d21430
Clarified language and cleaned up outline of the tutorial
TheCedarPrince Aug 6, 2021
298afb0
Merge branch 'master' into convenience_objectsv2
Wikunia Aug 6, 2021
973e95c
test @JShape in layers
Wikunia Aug 6, 2021
c2cb0d9
typo fix in Changelog
Wikunia Aug 6, 2021
86334e5
format
Wikunia Aug 6, 2021
41de4d3
JShape format docstring and added explanation
Wikunia Aug 6, 2021
2d350a0
JCircle restructure and support for linewidth
Wikunia Aug 6, 2021
cac9b43
JLine supports linewidth
Wikunia Aug 6, 2021
1f3b9cb
JLine docstring change + remove ReTest accident
Wikunia Aug 6, 2021
e46d8a7
format
Wikunia Aug 6, 2021
e41c044
linewidth for JPoly
Wikunia Aug 6, 2021
6b420ba
JRect removed vertices, added linewidth, fixed color
Wikunia Aug 6, 2021
8179d7d
format
Wikunia Aug 6, 2021
cb5e34e
JStar without vertices + added linewidth
Wikunia Aug 6, 2021
b34aaca
allow linewidth for ellipse + test linewidth using change
Wikunia Aug 6, 2021
ae0ed56
fixed tests and refs
Wikunia Aug 6, 2021
2b273a5
Formatted docstring some
TheCedarPrince Aug 7, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Javis.jl - Changelog

## Unreleased
- Add shorthands for basic shapes
- New functions `JBox, JCircle, JEllipse, JLine, JPoly, JRect, JStar, @JShape`
- added support for `rescale_factor` keyword in `render` function


## v0.6.0 (3rd of August 2021)
- Added layers see `@JLayer`

Expand Down
1 change: 1 addition & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ makedocs(;
"tutorials/tutorial_4.md",
"tutorials/tutorial_5.md",
"tutorials/tutorial_6.md",
"tutorials/tutorial_7.md",
],
"HowTo" => "howto.md",
"Workflows" => "workflows.md",
Expand Down
11 changes: 6 additions & 5 deletions docs/src/tutorials.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ Their level of difficulty starts from a beginner `Javis` user to advanced usages
Currently, these tutorials are available:

- [**Tutorial 1: Making Your First `Javis` Animation!**](tutorials/tutorial_1.md) - a step by step guide to making your first animation with `Javis`.
- [**Tutorial 2: What Are Actions?**](tutorials/tutorial_2.md) - an introduction to the most important part of `Javis` - the `Action` object.
- [**Tutorial 3: Rendering `LaTeX` with `Javis`!**](tutorials/tutorial_3.md) - a simple tutorial on how to render `LaTeX` in `Javis` animations.
- [**Tutorial 4: Do You Know Our Mascot? Learn about Transitions and Actions!**](tutorials/tutorial_4.md) - a fun tutorial to make our mascot and learn about the `Action` and `Transition` type methods.
- [**Tutorial 5: Taming the Elements**](tutorials/tutorial_5.md) - how to use `change` to grow or shrink arbitrary objects and using `Javis` with other Julia packages.
- [**Tutorial 6: Using Animations.jl to Create something with more Pep!**](tutorials/tutorial_6.md) - an advanced tutorial to make your animations more interesting.
- [**Tutorial 2: Using Shorthands in Javis!**](tutorials/tutorial_2.md) - Using shothands in `Javis`.
- [**Tutorial 3: What Are Actions?**](tutorials/tutorial_3.md) - an introduction to the most important part of `Javis` - the `Action` object.
- [**Tutorial 4: Rendering `LaTeX` with `Javis`!**](tutorials/tutorial_4.md) - a simple tutorial on how to render `LaTeX` in `Javis` animations.
- [**Tutorial 5: Do You Know Our Mascot? Learn about Transitions and Actions!**](tutorials/tutorial_5.md) - a fun tutorial to make our mascot and learn about the `Action` and `Transition` type methods.
- [**Tutorial 6: Taming the Elements**](tutorials/tutorial_6.md) - how to use `change` to grow or shrink arbitrary objects and using `Javis` with other Julia packages.
- [**Tutorial 7: Using Animations.jl to Create something with more Pep!**](tutorials/tutorial_7.md) - an advanced tutorial to make your animations more interesting.

If you spot an issue with any of these tutorials, please let us know! Thank you!
Binary file added docs/src/tutorials/assets/cosmic_dance.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/tutorials/assets/cosmic_dance_path.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/tutorials/assets/shorthand_examples.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading