COMUNICAÇÃO VISUAL

Frontiers Magic in the machine: a computational magician’s assistant

Compartilhe:

Frontiers Magic in the machine: a computational magician’s assistant

We also investigated the effect of using increasing numbers of rectangles and how this would affect the participant’s experience. Previous versions of this type of effect have the rectangles displayed vertically in both configurations of the image. An image showing objects is rearranged such that one of the objects appears to vanish, but in fact has been incorporated into an increase in length of the remaining objects. We applied our framework to the problem of making an optimally magical jigsaw puzzle, where printed graphics elements appear and disappear depending on how the same jigsaw is constructed. Equally, a participant may know or guess the fundamental techniques at work in a given trick, and therefore not find it to be an especially magical experience, but may still enjoy the particular presentation offered. The intention is to measure their overall experience of the trick—some people dislike magic tricks, even if they are somewhat surprised or amazed by what they have seen.

A convincing speech or appropriate theatrics by a human magician can make a skeptical audience believe in the impossible. So, the next time you find yourself in awe of a magic trick, remember that behind the curtain, AI might be playing a crucial role in creating that magical experience. As the field of AI continues to advance, we can only imagine the unimaginable feats magicians will achieve with the help of this powerful technology.

Deep learning algorithms can now analyze thousands of images and videos to understand how objects move and interact with their surroundings. “We were worried that people would be impressed, but that they wouldn’t really experience the trick—like watching a movie with CGI.” Williams says. “In magic jigsaw puzzles the way people see shapes and changes in length is the fundamental building block,” Williams says.

A cyclic sequence of cards is of benefit to a magician during performance, as cutting a deck of cards allows a false sense that the cards have been shuffled (see Hugard and Braue, 1974 for extensive discussion of card shuffling techniques), without disrupting the cyclical sequence. The use by magicians of cyclical combinatorial structures in mind reading effects, for example De Bruijn sequences—cyclical sequences of objects in which each unique subsequence of a given length appears once—have been extensively investigated by Chung et al. (1992) and Diaconis and Graham (2012). We then applied our framework to the creation of a mind reading card trick. The cost for the jigsaw was set in conjunction with the shop owner, an experienced salesman of magic tricks, who was able to provide what, in his professional opinion was a competitive price compared to other similar tricks. What follows is a breakdown of the number of times a word was reported by a participant after viewing the full jigsaw trick (with vanishing “spells” and a narrative).

The words chosen by the participants, from our distilled list, to describe the card trick were overwhelmingly favorable. The online participants may have been a see the article more varied group (in terms of enjoying magic). This can possibly be attributed to the fact that the card trick was performed in a live setting, rather than in an online experiment, and that people choosing to sit down to see a trick were more likely to enjoy magic.

Hard constraints (denoted [HARD]) are those that define a viable jigsaw (i.e., a candidate solution that does not meet the hard constraints is not a valid solution; e.g., there may be lugs that do not have a gap to slot into). Other parameters affect the viability of each candidate solution during the design process; for example, a basic requirement is that the pieces of the jigsaw must fit together to form the same basic overall shape, covering the same surface area (i.e., no gaps). A range of values for each of the constraints will result in workable, though not optimal, solutions. The jigsaw is in fact a multi-objective optimization problem; conflicting constraints mean there is not necessarily a single solution where each objective is optimal; a balance may need to be struck. Further, where each rectangle must be positioned so that after rearrangement the desired decrease in the number of rectangles is achieved. There are other issues of a more basic geometrical nature for a jigsaw designer to contend with, such as what shapes of pieces to use, where to place them, and where to position the lugs and gaps on each piece to make viable puzzles.

By combining AI algorithms with their creative vision, magicians can create experiences that leave audiences questioning the very nature of what is possible. The algorithm converges to solutions in less than fifty generations of the GA’s iterative process—the number of pieces and number of rectangles increases the complexity. Performers can blend traditional techniques with digital elements, crafting experiences that mesmerize audiences. “It’ll be interesting to see what serious magicians think about the idea of using machine learning as a way to optimize the shapes of the rectangles.” Once magicians “start with a dream” of a desired effect, they combine methods from previous tricks, new presentations, and techniques from across the sciences to generate something new. As anticipated, the vertical-horizontal illusion is evident; the largest absolute threshold value of 21.1% size increase was in effect when subjects were shown an image containing all vertical rectangles, followed by an image containing all horizontal rectangles (denoted VH).

The magician deals out six cards and asks the spectator to reveal only the color of each card. He found that size increases of up to 20 percent could go unnoticed, especially when the subjects were distracted. Both tricks involve imperceptibly changing the lengths of some of the puzzle pieces but Williams wondered if science could improve on the illusion. A wooden jigsaw puzzle depicts 12 magicians’ hands, each casting a spell. “When spectators view a magic trick, they are not experiencing a mathematical model,” says Howard Williams, a computer scientist at Queen Mary and co-creator of the system. Yesterday programmers at Queen Mary University of London unveiled a system that uses artificial intelligence to perform magic tricks.

To simplify the questionnaire, we did not ask for age, gender or country of origin data from the participants. The participants were recruited from university mailing lists, and from disseminating details of the experiment on Twitter. The intention here was to gather data about the type of descriptive words people use when asked to give a reaction to a magic trick.

Cadastre-se e receba nossas novidades!