Project 10 Non- Photorealistic Rendering

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Here is the result of the task with the normal style, jitter style, and the jitter3 style:

The next task is to create a dotted line. The first task is to create a variable that holds the number of dots per line, called num_dots. To do this, I use the math.floor function. Then, with a for loop function, I first call the function to draw the first dot and then put the turtle on the position of the second dot. The for loop will repeat itself by the number in num_dots divided by two.


One of my extension is similar to the last task - creating new L-system. This time, I grabbed my inspiration from my first L-systems. Again, I improved the L-system by incorporating new objects and colors to the design.

The second task is to create a new stroke style. This time, I created a brush stroke style. In order to make this, I first set an if statement indicating what will be the y and x distance from the initial and final points. And then, I created a for loop that draws 5 parallel lines for each if statements. In addition, I made each parallel lines one shade more than the last.

Here are my designs:


It is interesting that I can change the stroke styles by just adding new methods and functions to the system. In addition, more stroke styles can be added by just being creative or reverse-engineer the copied stroke styles. This is a new and fun way to make the scenes more interesting.