{"id":5546,"date":"2022-02-28T00:46:34","date_gmt":"2022-02-28T00:46:34","guid":{"rendered":"https:\/\/robertjwallace.com\/?p=5546"},"modified":"2022-03-02T21:07:17","modified_gmt":"2022-03-02T21:07:17","slug":"magic-with-your-phone","status":"publish","type":"post","link":"https:\/\/robertjwallace.com\/es\/magic-with-your-phone\/","title":{"rendered":"Magia con tu tel\u00e9fono"},"content":{"rendered":"<p>I have been intrigued with some of the smart phone apps for magic.  But I have been off put by their prices, or that they only run on Apple IOS.  So I decided to write my own, although it is not an app  per say, but rather a web page that you can use for a mental magic effect.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The effect<\/h2>\n\n\n\n<p>There are two basic effects.  The first is that you place a prediction down on the table.  The prediction is a card that they spectator is about to select, using a phone (theirs or yours).  You use the phones internet browser to go to a web site that shows a deck of cards that are face up in new deck order. There are two buttons above the cards: Shuffle and Toggle Backs.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" data-src=\"https:\/\/robertjwallace-images.s3.us-east-2.amazonaws.com\/wp-content\/uploads\/2022\/02\/image.png\" alt=\"\" class=\"wp-image-5547 lazyload\" width=\"227\" height=\"254\" data-srcset=\"https:\/\/robertjwallace-images.s3.us-east-2.amazonaws.com\/wp-content\/uploads\/2022\/02\/image-438x400.png 438w, https:\/\/robertjwallace-images.s3.us-east-2.amazonaws.com\/wp-content\/uploads\/2022\/02\/image-268x300.png 268w\" data-sizes=\"(max-width: 227px) 100vw, 227px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 227px; --smush-placeholder-aspect-ratio: 227\/254;\"><figcaption>Start of app with deck in new deck order.<\/figcaption><\/figure>\n\n\n\n<p>You demonstrate the shuffle button, pressing it several times to demonstrate how the cards are shuffled each time the button is pressed.<\/p>\n\n\n\n<!--more-->\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" data-src=\"https:\/\/robertjwallace-images.s3.us-east-2.amazonaws.com\/wp-content\/uploads\/2022\/02\/image-1.png\" alt=\"\" class=\"wp-image-5548 lazyload\" width=\"225\" height=\"288\" data-srcset=\"https:\/\/robertjwallace-images.s3.us-east-2.amazonaws.com\/wp-content\/uploads\/2022\/02\/image-1-429x400.png 429w, https:\/\/robertjwallace-images.s3.us-east-2.amazonaws.com\/wp-content\/uploads\/2022\/02\/image-1-234x300.png 234w\" data-sizes=\"(max-width: 225px) 100vw, 225px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 225px; --smush-placeholder-aspect-ratio: 225\/288;\"><figcaption>After shuffle button pressed multiple times<\/figcaption><\/figure>\n\n\n\n<p>Then you press the Toggle backs button to demonstrate that it turns all of the cards over.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" data-src=\"https:\/\/robertjwallace-images.s3.us-east-2.amazonaws.com\/wp-content\/uploads\/2022\/02\/image-2.png\" alt=\"\" class=\"wp-image-5549 lazyload\" width=\"221\" height=\"280\" data-srcset=\"https:\/\/robertjwallace-images.s3.us-east-2.amazonaws.com\/wp-content\/uploads\/2022\/02\/image-2-428x400.png 428w, https:\/\/robertjwallace-images.s3.us-east-2.amazonaws.com\/wp-content\/uploads\/2022\/02\/image-2-237x300.png 237w\" data-sizes=\"(max-width: 221px) 100vw, 221px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 221px; --smush-placeholder-aspect-ratio: 221\/280;\"><figcaption>After Toggle Backs has been pressed<\/figcaption><\/figure>\n\n\n\n<p>And finally, you show that tapping the back of a card will cause it to turn over.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" data-src=\"https:\/\/robertjwallace-images.s3.us-east-2.amazonaws.com\/wp-content\/uploads\/2022\/02\/image-5.png\" alt=\"\" class=\"wp-image-5552 lazyload\" width=\"235\" height=\"299\" data-srcset=\"https:\/\/robertjwallace-images.s3.us-east-2.amazonaws.com\/wp-content\/uploads\/2022\/02\/image-5-429x400.png 429w, https:\/\/robertjwallace-images.s3.us-east-2.amazonaws.com\/wp-content\/uploads\/2022\/02\/image-5-236x300.png 236w\" data-sizes=\"(max-width: 235px) 100vw, 235px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 235px; --smush-placeholder-aspect-ratio: 235\/299;\"><figcaption>Turning a card.<\/figcaption><\/figure>\n\n\n\n<p>You hand the spectator the phone and tell them to press the Shuffle button as many times as they want, and then to touch any card that they want.<\/p>\n\n\n\n<p>The card they touch matches your prediction.<\/p>\n\n\n\n<p>The second effect can be done stand-alone, or as a follow-up to the first effect.  The second effect is a mind reading effect.  The spectator presses the shuffle button as many times as they want, and then select a card by touching one of the face down cards.  You have your back turned as they do this.  They look at the card and mentally try to transmit it to you.  You reveal their thought of card.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"> M\u00e9todo<\/h2>\n\n\n\n<p>The method is based on stacked decks.  The page supports the following stacks: &#8220;Osterland&#8221;, &#8220;DAO&#8221;, &#8220;Si Stebbins3&#8221;, &#8220;Si Stebbins4&#8221;, &#8220;Eight Kings&#8221;, &#8220;Aronson&#8221;, &#8220;Tamariz&#8221;, &#8220;Joyal&#8221;, &#8220;Nikola&#8221;.  I use the DAO stack, which is the default stack.  But most magicians will at least know the Si Stebbins stacks.  You select which stack is going to be use by the URL.  The default URL is http:\/\/robertjwallace.com\/mental\/.  But if you want to use any of the other stacks you add a  ?0 for the Osterland stack,  a ?1 for DAO,  a ?2 for Si Stebbins 3,  a ?3 for Si Stebbins4, etc. <\/p>\n\n\n\n<p>For explanation I will use the Si Stebbins 3 stack, so the URL to go to  would be http:\/\/robertjwallace.com\/mental\/?2 for the mind reading effect or for the prediction effect replace the ?2 with ?2m. (actually the  \u00a8m\u00a8 can be any character or word.)<\/p>\n\n\n\n<p>For the first effect (prediction), in order to force the card you which to predict you need to know the card that precedes it the the stack.  For example if you want to force the Queen of Heart in the Si Stebbins 3 stack, the card before it is the Nine of Clubs. (Nine of clubs -&gt; nine +3 = queen, and clubs come before hearts in CHaSD order.)<\/p>\n\n\n\n<p>To code the suit (clubs), with the deck in new deck order,  you demonstrate the buttons, press the shuffle button when the cards are still face up to code the suit.  Shuffle once for clubs, twice for Hearts, three times for Spades, and four times for Diamonds.<\/p>\n\n\n\n<p>Then press the Toggle Backs button to turn the cards face down.  Now to code the card value (nine), turn over the ninth card from the left on any row.  You have now got the application set up to turn over the queen of hearts.  If you want, you can press any card first, but press the ninth card last to set the value.   Press the shuffle button which will complete the setting of the card to be displayed.<\/p>\n\n\n\n<p>Now let the spectator shuffle the cards.  They can shuffle with the cards face up or face down.  When they are satisfied, if the cards are face up have them turn them face down and shuffle once more.  <\/p>\n\n\n\n<p>With the cards face down, no matter what card they touch, it will be the prediction!<\/p>\n\n\n\n<p>You can now move directly to the second effect. <\/p>\n\n\n\n<p>Now when ever they turn a card over it will be the next card in the stack.  So, for example, they could turn over the queen of hearts and touch another card. What ever card they touch will the the Two of Spades.<\/p>\n\n\n\n<p>If you want to just do the second effect, change the URL to http:\/\/robertjwallace.com\/mental?2<\/p>\n\n\n\n<p>Now when you demonstrate the shuffle button with the cards face up, the card at position 1 (top left, first row, first card) is you key.  Just note what that card is before the cards are turned face down.  The spectator can hit the shuffle button as many times as they want, with the cards face up or face down.  But have them turn the cards face down and shuffle at least one time more.  Then what ever card the select will be the next card in the stack.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Considerations<\/h2>\n\n\n\n<p>When they have the backs displayed and a card touch, the system will replace all of the cards on the screen with the cards in the stack order.  So you should not have them keep the turned over cards face up because if they click on enough cards they may spot the stack.  It is best that after each revelation they press the shuffle button again. This is also why after showing the backs, the user is forced to shuffle the deck.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Back Designs<\/h2>\n\n\n\n<p>You can change the back design by adding to the url query string a back command with the number of the back design you want.  For example:<\/p>\n\n\n\n<p>http:\/\/robertjwallace.com\/mental\/?back1   or  http:\/\/robertjwallace.com\/mental\/?back1&amp;s2<\/p>\n\n\n\n<p>the second changes the back design, sets the stack and puts the page into prediction mode.<\/p>\n\n\n\n<p>Currently there are two additional back designs: back1 and back2.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"168\" height=\"236\" data-src=\"https:\/\/robertjwallace-images.s3.us-east-2.amazonaws.com\/wp-content\/uploads\/2022\/03\/back1.png\" alt=\"\" class=\"wp-image-5562 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 168px; --smush-placeholder-aspect-ratio: 168\/236;\"><figcaption>back1<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"168\" height=\"235\" data-src=\"https:\/\/robertjwallace-images.s3.us-east-2.amazonaws.com\/wp-content\/uploads\/2022\/03\/back2.png\" alt=\"\" class=\"wp-image-5563 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 168px; --smush-placeholder-aspect-ratio: 168\/235;\"><figcaption>back2<\/figcaption><\/figure>\n\n\n\n<p>Give it a try and if you have any issues or comments feel free to reach out to me.<\/p>\n\n\n\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>I have been intrigued with some of the smart phone apps for magic. But I have been off put by their prices, or that they only run on Apple IOS. So I decided to write my own, although it is not an app per say, but rather a web page that you can use for &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/robertjwallace.com\/es\/magic-with-your-phone\/\" class=\"more-link\">Continuar leyendo<span class=\"screen-reader-text\"> &#8220;Magic with your phone&#8221;<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_eb_attr":"","footnotes":""},"categories":[7],"tags":[],"class_list":["post-5546","post","type-post","status-publish","format-standard","hentry","category-magic"],"featured_image_src":null,"featured_image_src_square":null,"author_info":{"display_name":"Bob","author_link":"https:\/\/robertjwallace.com\/es\/author\/admin\/"},"_links":{"self":[{"href":"https:\/\/robertjwallace.com\/es\/wp-json\/wp\/v2\/posts\/5546","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/robertjwallace.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/robertjwallace.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/robertjwallace.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/robertjwallace.com\/es\/wp-json\/wp\/v2\/comments?post=5546"}],"version-history":[{"count":4,"href":"https:\/\/robertjwallace.com\/es\/wp-json\/wp\/v2\/posts\/5546\/revisions"}],"predecessor-version":[{"id":5564,"href":"https:\/\/robertjwallace.com\/es\/wp-json\/wp\/v2\/posts\/5546\/revisions\/5564"}],"wp:attachment":[{"href":"https:\/\/robertjwallace.com\/es\/wp-json\/wp\/v2\/media?parent=5546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/robertjwallace.com\/es\/wp-json\/wp\/v2\/categories?post=5546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/robertjwallace.com\/es\/wp-json\/wp\/v2\/tags?post=5546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}