akuchling: Sherlock Hemlock (Default)
I began setting up the skeleton for Barb's suggested sandbox game, as an HTML5 app that uses jQuery Mobile. I think I'll start out by trying the fake 2D approach, not a serious 3D simulation of every single particle in the sand.
akuchling: Sherlock Hemlock (Default)
Barb suggested a mobile app idea. There's a toy that consists of a glass box or tube filled with sand or beads. There are also slightly larger figures buried in the sand -- say, a shark, an anchor, and a ship. You play by shaking the sand until one of the figures comes to the top, and then you can check it off your list. Repeat until you've found all three figures. Her suggestion is a mobile app to play this game: shake your phone until all the stuff comes up.

I think this could probably be done as an JavaScript + canvas app. It could either simulate the physics of sand in detail -- searching for 'sand simulation' turns up papers such as http://robotica.uv.es/~ignacio/papers/EG08/short2054.pdf -- or just fake it like a slot machine, by randomly picking how often a target figure appears and how much of it is visible, and then rendering the screen accordingly.

Profile

akuchling: Sherlock Hemlock (Default)
akuchling

September 2016

S M T W T F S
    123
45678910
11121314151617
18192021222324
2526272829 30 

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 22nd, 2017 02:09 pm
Powered by Dreamwidth Studios