Use recursion to draw the following snowflake shape generated from 6 sub-fractals of splitting lines. The following figures show recursion depths ranging from 0 to 4. Solution: To solve this
Use recursion to draw the following snowflake shape generated from 6 sub-fractals of splitting lines. The following figures show recursion depths ranging from 0 to 4. Solution: To solve this
Lori Gardi created this nested overlapping circle fractal in the paper ‘The Universe is a Fractal’. The fractal according to the paper looks similar to a supernova. A simple version
In a previous project, we drew a star fractal with recursion. A tutorial and source code were provided in that project. Based on the code, draw the following colorful star
In a previous project, we drew a star fractal with recursion. A tutorial and source code were provided in that project. Based on the code, draw the following colorful star
Draw the following fractal made up with stars. You may need to use recursion and trigonometry to do this project. The following figures show star fractal with different recursion depths
In a previous project we draw real stock price charts by reading data from files. We also draw stock moving averages in this project. Download historical stock prices for Google, Apple, and SPY
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, we draw a trending stock price random walk chart. Candlestick chart is a more common way of representing stock price chart. Modify the code for the previous project to draw
In a previous project, we draw a stock price random walk chart. Candlestick chart is a more common way of representing stock price chart. Modify the code for the previous
In a previous project, you coded a square spiral inside squares. Make minor changes to make it a striped spiral as shown here.