From ee373c55e38a4081819e302ba679ec75988d8b45 Mon Sep 17 00:00:00 2001 From: Kaustubh Maske Patil <37668193+nikochiko@users.noreply.github.com> Date: Tue, 12 Mar 2024 12:22:10 +0530 Subject: [PATCH] Move tutorial assets to tutorial/ (#130) --- README.md | 10 +++++----- .../tutorial-circle-offset.png | Bin tutorial-circle.png => tutorial/tutorial-circle.png | Bin .../tutorial-complex.png | Bin tutorial-rotate.png => tutorial/tutorial-rotate.png | Bin tutorial-spiral.png => tutorial/tutorial-spiral.png | Bin 6 files changed, 5 insertions(+), 5 deletions(-) rename tutorial-circle-offset.png => tutorial/tutorial-circle-offset.png (100%) rename tutorial-circle.png => tutorial/tutorial-circle.png (100%) rename tutorial-complex.png => tutorial/tutorial-complex.png (100%) rename tutorial-rotate.png => tutorial/tutorial-rotate.png (100%) rename tutorial-spiral.png => tutorial/tutorial-spiral.png (100%) diff --git a/README.md b/README.md index 40655d7..295d486 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ let () = and renders this: -![circle](/tutorial-circle.png) +![circle](/tutorial/tutorial-circle.png) Let's break this down. `init` does all the behind-the-scenes render magic that allows our shape to be drawn to an image file. `circle 100` creates a circle at @@ -48,7 +48,7 @@ like this: `let c = circle ~c:(point 0 100) 100` -![offset-circle](/tutorial-circle-offset.png) +![offset-circle](/tutorial/tutorial-circle-offset.png) Notice the call to `show`, the circle is placed within a list. This is how we render shapes in Joy. Placing our shape arguments in a list allows us to draw @@ -73,7 +73,7 @@ let () = write () ``` -![rotate](/tutorial-rotate.png) +![rotate](/tutorial/tutorial-rotate.png) Transformations can also be composed together: @@ -92,7 +92,7 @@ let rect = rectangle 100 100 in let spiral = repeat 16 (rotate 45) rect ``` -![spiral](/tutorial-spiral.png) +![spiral](/tutorial/tutorial-spiral.png) This is how we build more complex shapes out of the simple primitives and transformations in the library. It may look a little intimidating if you are new @@ -131,7 +131,7 @@ let l = line (point (-250) 250) in let bunch = complex [ c; r; e; l ] ``` -![complex](/tutorial-complex.png) +![complex](/tutorial/tutorial-complex.png) # Going further diff --git a/tutorial-circle-offset.png b/tutorial/tutorial-circle-offset.png similarity index 100% rename from tutorial-circle-offset.png rename to tutorial/tutorial-circle-offset.png diff --git a/tutorial-circle.png b/tutorial/tutorial-circle.png similarity index 100% rename from tutorial-circle.png rename to tutorial/tutorial-circle.png diff --git a/tutorial-complex.png b/tutorial/tutorial-complex.png similarity index 100% rename from tutorial-complex.png rename to tutorial/tutorial-complex.png diff --git a/tutorial-rotate.png b/tutorial/tutorial-rotate.png similarity index 100% rename from tutorial-rotate.png rename to tutorial/tutorial-rotate.png diff --git a/tutorial-spiral.png b/tutorial/tutorial-spiral.png similarity index 100% rename from tutorial-spiral.png rename to tutorial/tutorial-spiral.png