Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Return of the ...

Sign in to follow this  


I've just had an utterly weird idea.

It revolves around a coffee percolator simulator.

You start with a volume - let's say a conical one - in which we place a number of spherical CoffeeBalls. Each CoffeeBall has a mass and position; a physics simulator ticks through each frame of the simulation, ensuring that all the CoffeeBalls are bunched down at the bottom of the cone.

Next, we add a number of WaterBalls. All WaterBalls have the same mass/radius, and all have an initial "concentration value" of 0.0.

The WaterBalls are dropped randomly in through the top (open) end of the cone, and the physics system takes over. WaterBalls do not collide with each other, but they do collide with CoffeeBalls - and when they do, a force is exerted from the center of the CoffeeBall to the center of the WaterBall. Not such that the WaterBall cannot overlap the CoffeeBall, you understand - just enough to stop it from ignoring the CoffeeBall completely.

For every cycle that the WaterBall overlaps the CoffeeBall, an "absorption" occurs. An absorption causes the WaterBall's concentration value to increase, and the CoffeeBall's mass/radius to decrease. The extent of the absorption is a factor of how much the WaterBall and CoffeeBall overlap, along with the WaterBall's current concentration value (to simulate saturation).

Eventually, WaterBalls collect at the bottom of the cone, which they are permitted to pass through. They collect in the bottom; some kind of summation occurs, to result in a total amount of brewed coffee, with a given homogenous concentration value.

Cool? Pointless? Worthwhile? What do y'reckon?
Sign in to follow this  


Recommended Comments

I think you're living up to the "crazy young man" label you put on yourself : )

However, as a simple physics demo, I guess it's worth pursuing. If nothing else, it makes an amusing addition to a code portfolio. "Terrain engine, A* pathfinder, ...coffee perculator? WTF?"

Share this comment

Link to comment
Hmm I'm sure you could make an nice puzzle game out of this......somehow [smile]

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!