★ I camp up with some new tricks/algorithms to generate more natural and real water waves
★ The effect looks different than I found so far, smoother and more flexible
★ You can drag the yellow ball to interact with the water
★ I hope you like it
wave.aia (18.1 KB)
16 Likes
A really awesome application of Archimede's law
Bravo !
3 Likes
Unbelievable...nice work over there.
You may also consider adding the following:
Working with densities to control the mass and volume of the ball sprite so that it can sink or float depending on the density
Use the OrientationSensor component so that when the user tilts there phone, the water moves, just likely flipping a water bottle.
4 Likes
It took me many hours to do the experiments..
By now it looks kinda good
Can apply to some games or other
3 Likes
Yes I have achieved the 2nd one not long ago with static water surface
1 Like
Wow, that is awesome! App Inventor has a lot of potential
1 Like
ABG
April 2, 2023, 6:08pm
8
I like how the Canvas update is just a single DrawShape off your list of points for the water surface. No sprites, all physics.
1 Like