p5js/mitosis - Add (naive) re-growth of cell membrane
p5js/mitosis - Add (naive) re-growth of cell membrane

* At the start of Interphase, if there are fewer than N (hardcoded to 30) segments in the membrane, add segments.
* Takes a naive approach of simply inserting segments between existing segments.

Other hacky-note is the calculation of idxA and idxB, with the 2*i ... which accounts for the fact that the array's length is growing as the loop progresses.

Todo:
- Create segments based on the existing length of each segment (such that stretched segments will have more segments created to replace them).
- figure out a better array manipulation to "zip" up the existing array with the new segments to avoid "array index gymnastics".

brianhonohan/sketchbook,brianhonohan/sketchbook,brianhonohan/sketchbook