3&4. Nature of Code
- Astro Lee

- Feb 22, 2024
- 1 min read
Week of Forces! and Week of Oscillation, in hope that I can catch up with the forces week, I decided to combine the two.
I've been dug in deep in the p5-Coding Train land, and I'm surprised with how much I enjoy making these little sketches!
And I ended up making so many eye-candy this week. I'm happy with where I landed. Less interaction, but that will soon come too.
The first place I landed with Oscillation + Gravitational Force & Attraction!
Looked like a flower, and I really enjoyed where this took me, so I started digging deeper.
Then I met this little weird screen saver-like looking thing too.
Then I realized that I really enjoy this one!


I enjoyed the sketchy feeling, so I kept playing with it. The GIF compression is messing with the behavior, so on the right is the screen grab.
And another favorite variation: I think this is where I landed.
And another variation - contemporary version I guess.
And here are the sketch variations I made as I developed up to this point:
I started out by following the coding train examples from mutual attraction to attraction with n-body array, then implemented the circle+angle sketch altogether and started meshing them all up until I landed here.
And here are the sketches:
2 Body
2. N Body
3. N body + Osc Variations


Comments