October 2018
Beginner to intermediate
676 pages
18h 30m
English
Here is the explanation of the preceding code blocks. It works similar to the way the previous sigmoid animation worked.
However, we are not using init_func here, but rather initializing in the main function itself. Instead of using a fixed number of frames, we are using a function to generate data for every frame, until the value of x reaches 50. When x reaches 50, one cycle gets completed, and if repeat=yes is set, then the full cycle will keep repeating itself. Otherwise, it will stop after one cycle:
Read now
Unlock full access