This experiment mimics the Spell casting technique used in Lionhead Studio's Black and White. The user can give commands to the computer by drawing different shapes with the cursor. Try to move your mouse smoothly and at an average speed - not too fast, but not too slow either. If the computer understands your command, a small orange rectangle will show up next to the correct shape. Built with Processing (www.processing.org).
Nice, can't do circles or the 'S' shape though!
Matthew MarshallTry moving the mouse slowly for the S and the Circle.
ADMINI had to move very slow and smooth for the 'S' shape. I think it should only draw when you click and drag the mouse, I'm not so keen on the lines always being there. The bars indicating that a shape was recognised weren't very clear at first. I thought it was telling me "You've drawn a straight line!". I hope you can build on this, maybe add some colour ; )
MarkavianPerhaps you could draw / fade the completed shape onto the screen after a successful cast?
NameI have updated the applet with some colours. You will have to restart Java to see the changes.
ADMINTo see the changes you can just clear the java cache (open java-console, and hit x on your keyboard) Really nice btw.. I believe that effect is used in the game Black and White.. really neat ;)
seltarNice experiment!!! I'm not able to do the S shape.
eurosickwititNow you have to think up a game that uses this method ; )
MarkavianHardcore!!!!!!!!!! I love it.
matwow! very nice!
mikaThat's cool man
JuanThis is absolutely brilliant. Reminds me of the game Black and White, without the need to hold down a mouse button. This has quite the potential to be used in some UIs.
Wan Zafrantoi la ai
co ai khongI was finally able to get all the shapes. Yay for me.
NameAwesome! :) I can make them all. Good work!
KennedyI'm Japanese. Wow! Very nice work!!
YusukeIt seems that for it to recognize the S shape your S needs to be drawn with the top curled appropriately downward. Draw the exact S shape you see over on the left, not necessarily the sort of S you're used to writing.
Nobodyaya shoma ali palavi hasti?
marjansamo primjenite nove rang ostalo je kul svaka cast
radeBORING!!!!!!!!!! I NEARLY DIED
dylan swiftThis is really cool. I wish I could actually draw a figure and watch it move.
Name AnnetteWhat algorithms are you using to detect the gestures?
Furkan