We have project that draws fully connected 24-gon. Use colorsys library to gradually change the hue of lines as they get longer.
We have project that draws fully connected 24-gon. Use colorsys library to gradually change the hue of lines as they get longer.
Refer to fully connected octagon before drawing this fully connected 24-gon.
Use nested for loop and list to draw the following fully connected octagon.
Draw a regular hexagon that have vertices connected to the center. Use for loop to draw this shape. Source Code:
Moving averages can smooth out the stock prices and reduce the randomness. Based on the previous projects (stock price random walk with candlestick chart, and trending stock price random walk
In a previous project, you coded a square spiral inside squares. Make minor changes to make it a striped spiral as shown here.
In a previous project, we draw a pentagon spiral inside pentagons. Based on the solution, draw a striped pentagon spirals as shown with Python and Turtle. The modification to the
Draw the following fractal of hex stars using Python and Turtle. First, design a function that draws hex star in any position and size.
Draw a hex star as shown with Python and Turtle. Practice using loop to draw this shape.
In other related projects, we draw a pentagon spiral and a square spiral. Now draw a dodecagon spiral with 12 sides. Also make the grayscale of dodecagons gradually grow lighter