WOLFRAM

Recreational Computation

Current Events & History

The Wolfram Language Bridges Mathematics and the Arts

Every summer, 200-some artists, mathematicians and technologists gather at the Bridges conference to celebrate connections between mathematics and the arts. It's five exuberant days of sharing, exploring, puzzling, building, playing and discussing diverse artistic domains, from poetry to sculpture. The Wolfram Language is essential to many Bridges attendees' work. It's used to explore ideas, puzzle out technical details, design prototypes and produce output that controls production machines. It's applied to sculpture, graphics, origami, painting, weaving, quilting—even baking. In the many years I've attended the Bridges conferences, I've enjoyed hearing about these diverse applications of the Wolfram Language in the arts. Here is a selection of Bridges artists' work.
Computation & Analysis

Spikey Bird: Creating a Flappy Bird Mod in the Wolfram Language

An earlier version of this post appeared on Wolfram Community, where the creation of a game interface earned the author a staff pick from the forum moderators. Be sure to head over to Wolfram Community and check out other innovative uses of the Wolfram Language! If you like video games and you're interested in designing them, you should know that the Wolfram Language is great at making dynamic interfaces. I've taken a simple game, reproduced it and modded it with ease. Yes, it's true—interactive games are yet another avenue for creative people to use the versatile Wolfram Language to fulfill their electronic visions. The game I'm using for this demonstration is Flappy Bird, a well-known mobile game with a simple yet captivating interactive element that has helped many people kill a lot of time. The goal of the game is to navigate a series of pipes, where each successful pass adds a point to your score. The challenge is that the character, the bird, is not so easy to control. Gravity is constantly pulling it down. You "flap" to boost yourself upward by repeatedly tapping the screen, but you must accurately time your flaps to navigate the narrow gaps between pipes. So follow along and see what kind of graphical gaming mayhem is possible in just a few short lines of code!
Computation & Analysis

Computational Gastronomy: Using the Wolfram Language to Prepare a Sumptuous Holiday Feast

In recent years there's been a growing interest in the intersection of food and technology. However, many of the new technologies used in the kitchen are cooking tools and devices such as immersion circulators, silicone steam baskets and pressure ovens. Here at Wolfram, our approach has been a bit different, with a focus on providing tools that can query for, organize, visualize and compute data about food, cooking and nutrition. Last Christmas I went home to Tucson, Arizona, to spend time with my family over the holidays. Because I studied the culinary arts and food science, I was quickly enlisted to cook Christmas dinner. There were going to be a lot of us at my parents' house, so I was aware this would be no small task. But I curate food and nutrition data for Wolfram|Alpha, so I knew the Wolfram technology stack had some excellent resources for pulling off this big meal without a hitch.
Education & Academic

Creating Mathematical Gems in the Wolfram Language

The Wolfram Community group dedicated to visual arts is abound with technically and aesthetically stunning contributions. Many of these posts come from prolific contributor Clayton Shonkwiler, who has racked up over 75 "staff pick" accolades. Recently I got the chance to interview him and learn more about the role of the Wolfram Language in his art and creative process. But first, I asked Wolfram Community's staff lead, Vitaliy Kaurov, what makes Shonkwiler a standout among mathematical artists.
Best of Blog

How to Win at Risk: Exact Probabilities

The classic board game Risk involves conquering the world by winning battles that are played out using dice. There are lots of places on the web where you can find out the odds of winning a battle given the number of armies that each player has. However, all the ones that I have seen do this by Monte Carlo simulation, and so are innately approximate. The Wolfram Language makes it so easy to work out the exact values that I couldn't resist calculating them once and for all.
Announcements & Events

What Can You Say in One Line of the Wolfram Language? The 2017 One-Liner Competition

The One-Liner Competition is a tradition at our annual Wolfram Technology Conference, which took place at our headquarters in Champaign, Illinois, two weeks ago. We challenge attendees to show us the most impressive effects they can achieve with 128 characters or fewer of Wolfram Language code. We are never disappointed, and often surprised by what they show us can be done with the language we work so hard to develop—the language we think is the world's most powerful and fun. This year's winning submissions included melting flags, computer vision and poetry. Read on to see how far you can go with just a few characters of Wolfram Language code...
Best of Blog

Create a Tracker to Analyze Gas Mileage Using Wolfram Tech

When I first started driving in high school, I had to pay for my own gas. Since I was also saving for college, I had to be careful about my spending, so I started manually tracking how much I was paying for gas in a spreadsheet and calculating how much gas I was using. Whenever I filled my tank, I kept the receipts and wrote down how many miles I'd traveled and how many gallons I'd used. Every few weeks, I would manually enter all of this information into the spreadsheet and plot out the costs and the amount of fuel I had used. This process helped me both visualize how much money I was spending on fuel and manage my budget. Once I got to college, however, I got a more fuel-efficient car and my schedule got a lot busier, so I didn't have the time to track my fuel consumption like this anymore. Now I work at Wolfram Research and I'm still really busy, but the cool thing is that I can use our company technology to more easily accomplish my automotive assessments.
Computation & Analysis

How Many Animals and Arp-imals Can One Find in a Random 3D Image?

And How Many Animals, Animal Heads, Human Faces, Aliens and Ghosts in Their 2D Projections?

Introduction

In my recent Wolfram Community post, "How many animals can one find in a random image?," I looked into the pareidolia phenomenon from the viewpoints of pixel clusters in random (2D) black-and-white images. Here are some of the shapes I found, extracted, rotated, smoothed and colored from the connected black pixel clusters of a single 800x800 image of randomly chosen, uncorrelated black-and-white pixels.