Yin-Yang Transformations

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

In Taoist philosophy, the concept of yin and yang describes how opposite qualities are interconnected and interdependent in the natural world, and how they, in fact, give rise to one another. Many natural dualities, such as light and darkness, wet and dry, female and male, and so on, are thought of as manifestations of yin and yang—complementary opposites within an all-encompassing whole.


In this Demonstration, yin (black) and yang (white) in the left-hand symbol can be interchanged either by a 180° rotation or by reversal of the opposite colors. As an added feature, you can choose as complementary colors, in addition to black/white, the pairs red/cyan, green/magenta, or blue/yellow.


Contributed by: S. M. Blinder (March 2011)
Open content licensed under CC BY-NC-SA



Snapshot 1: original orientations and colors

Snapshot 2: intermediate stage in color exchange

Snapshot 3: color exchange in blue/yellow symbol, equivalent to 180° rotation

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.