Solution; use algebra. If the distance between two clones is 100 px, that means their radius circles are perfectly touching. You can calculate that distance by using the pythagorean theorum: x_difference^2 + y_difference^2 = distance_between^2. Then, if that hypotenuse is less than 100px, you simply make both circles move px by px away until they are 100px away from each other.
direct image link | download PNG | edit this image | share on r/pam
Description:
| CREATOR ID: | 2026b4 |
| VIEWS: | 18 |
| AGE: | 2 years old |
| BASED ON: |
PIXEL ART GALLERY
PIXEL ART COMMUNITY