In this project, I essentially implemented various styles of drawing, which disguised my computer or automated drawn objects that I have been creating as human drawn objects; I accomplished this by using different styles of drawing.
Make a file demo_line_styles.py _that draws multiple copies of one of your shapes from last week. Show the shape drawn in 'normal', 'jitter', and 'jitter3', and 'dotted' styles. For the normal style, draw shapes with at least 2 different line widths. For jitter and jitter3 styles, draw shapes with at least 2 different jitter sigmas. For the dotted style, draw shapes with at least 2 different dot sizes._
_Make a copy of your indoor scene code from last week--or create a brand new scene-- and put it in a new file_ indoor_scene.py. Edit your scene so that it makes use of the different drawing styles. Feel free to enhance it, but focus on enhancements that make use of the different drawing styles and shape classes you've created. When you are done, you should have something that looks a bit more like a real painting or drawing.'
_Make your own new parameterized stochastic multi-rule L-system. You can create a variation on one of the given files or look in ABOP for inspiration. If you create a variation, you need to do more than just add ornaments (berries or leaves). You need to make the shape structurally different so the difference is obvious Your new L-system does not have to be a tree, but it does need to include branching, multiple rules, and at least one rule with more than one replacement string. Describe the L-system you designed in your writeup and explain your design choices. Make a scene or image that includes your L-system. If you have altered an L-system from ABOP or elsewhere, please show your L-system next to that L-system so you can make it clear there are differences. Please also supply the name of the file that contains the rules for the L-system so that we can find it when we are grading._
It's not anything fancy, but I tried making a more eye-pleasing variation of a bush.
As you can see; I have multiple rules, branching, and at least one rule with more than one replacement string.
SOLUTIONS TO TASKS:
I struggled with using my set style methods for my shapes--this took me a bit of time to figure out
*For IMG3:*I found it confusing to create an lsystem with multiple rules and branching. Eventually, I persevered (by asking for help of course) and here's what I came up with:
Another challenge I encountered was to create a dotted style to draw lines with small circles instead of continuous lines. To do this, I used an Elif statement to get the default start and end coordinates, followed with a loop that runs itself based on the number of circles that can fit in the distance.
For my first extension I made it so the user can change the color of my shapes in shapes.py. Featured below is my code!
2.) Well an attempt at it...
I tried to create an animation... So what I did was import time and random into my file and I used the sleep function for a random period of time.
(Could go under [possible] solutions to tasks)
WHAT I LEARNED
I learned about styles and how to make images drawn on python in such a way that it looks like there was human error.
I learned more about the uses of Lsystems
WHO I WORKED WITH: