2023 Pi Daylatest newsbuy art
Where am I supposed to go? Where was I supposed to know?Violet Indianaget lost in questionsmore quotes
very clickable
visualization + math

Pi Day 2023 — Repeated Sequence — A modular synthesizer experience

On March 14th celebrate `\pi` Day. Hug `\pi`—find a way to do it.

For those who favour `\tau=2\pi` will have to postpone celebrations until July 26th. That's what you get for thinking that `\pi` is wrong. I sympathize with this position and have `\tau` day art too!

If you're not into details, you may opt to party on July 22nd, which is `\pi` approximation day (`\pi` ≈ 22/7). It's 20% more accurate that the official `\pi` day!

Finally, if you believe that `\pi = 3`, you should read why `\pi` is not equal to 3.

Most of the art is available for purchase as framed prints and, yes, even pillows. Sleep's never been more important — I take custom requests.

People find these numbers inconceivable — and I do too. Best thing to do is just relax and enjoy it. —Richard Feynman

Welcome to 2023 Pi Day: a celebration of `\pi` and mathematics, electronic music and cables. A lot of cables.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Pi Day 2023 — Modular Synthesizer Experience #54
Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Pi Day 2023 — Modular Synthesizer Experience #30
Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Pi Day 2023 — Modular Synthesizer Experience #21

1 · A modular synthesizer experience

This piece was created with a modular synthesizer system, which you can see in the video. Look for the closeups to meet some of the key modules in the patch, such as Vector Space and the Triple Sloths.

2 · What is a modular synthesizer?

You've probably seen at least one synthesizer — most have a keyboard, which allow you to select a note, and they all have a bunch of knobs, which allow you to shape the sound giving you wide control over what a note will sound like. This latter process is broadly known as sound design.

If you were to open up such a synthesizer, you'd see a bunch of different circuits hooked up to the knobs, with each circuit having a specific role in the signal flow. This is a simplification, but it's good enough.

In a modular synthesizer, those individual circuits are broken up into modules that you purchase separately. Each module has its own function — everything from making a sound to filtering to mixing and more. It's probably best to call such a setup a modular system since it can veritably act as multiple synthesizers, each composed of a group of modules.

The modules themselves come in a wide variety of designs and sizes. Some modules are very narrow and some are very wide, though the height of the module is fixed within a given modular standards. For example, Eurorack modules are 5.25" in height (3U, 1U = 1.75") whereas the Buchla/Serge system uses 4U (7") and Moog modular synth modules are 8.75" tall. There are even some short 1.75" (1U) modules in the Eurorack world.

3 · A typical modular synthesizer setup

3.1 · Triple Sloths

The Triple Sloth is chaos circuit module. It output is the solution to a system of differential equations, similar to the Lorentz System.

There are three sloths, called Torpor, Inertia and Apathy. These have periods of about 20 seconds (Torpor), 2 minutes (Apathy) and 20 minutes (Inertia). You can see the realtime output of the Inertia slot at this point in the video.

There's also a much slower sloth — Sloth DX — with a 20 hour period. This Sloth DX has capacitors that are so large that they stick out from the front of the module. As far as I know, this is the only module that exposes is internal components in this way.

4 · Chill to 10 hours of Pi

This is a much longer version of the original 1 hour Repeated Sequence, which only went to the Feynman Point (769 digits).

In the 10 hour version we go to 10,000 digits. Up to the Feynman Point, this longer version is identical to the 1 hour version. After this point, though, it just keeps going — we let the modular patch play itself. During this time, we switch reels on the Morphagene to Esther and Anja giggling. There's mumbling too.

Starting at 8,000 digits, we ramp up the rack to a finale at 10,000 digits and then ramp down the rack for an outro. The last ~1,500 digits are read out at 4 digits per second in about 6 min 15 seconds.

5 · How was it made

If you'd like to learn the basics of modular synthesis, check out the Methods section.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
A simplification of a simple modular synthesizer patch that (a) generates a sound, (b) sequences the pitch of the sound over time, (c) changes timbre and filters the sound, (e) shapes the sound with an envelope and (f) modulates the filter over time to add variation and movement.

6 · 10 years of Pi Day Art

The 2023 π Day art is a music performance in collaboration with Flunk.
Year 2023 of the Pi Day Art collection
The 2022 π Day art is a music album composed by Greg Coles for solo piano. It tells stories from the very beginning (314…) to the very (known) end of π (…264) as well as math (Wallis Product) and math jokes (Feynman Point), repetition (nn) and zeroes (null).
Year 2022 of the Pi Day Art collection
The 2021 π Day art celebrates the digits of π with a forest! Visit the bat cave and underwater ecosystems for the full experience.
Year 2021 of the Pi Day Art collection
The 2020 π Day art celebrates the digits of π with piku (パイク) — poetry inspired by haiku. They serve as the form for The Outbreak Poems. On our 2022 Pi Day album "three one four: a number of notes", a piku accompanies each track.
Year 2020 of the Pi Day Art collection
The 2019 π Day art celebrates digits of π with hundreds of languages and alphabets. If you're a kid at heart—rejoice—there's a special edition for you!
Year 2019 of the Pi Day Art collection
The 2018 π Day art celebrates the 30th anniversary of π day and connects friends stitching road maps from around the world. Pack a sandwich and let's go!
Year 2018 of the Pi Day Art collection
If you like space, you will love this. The 2017 π Day art imagines the digits of π as a star catalogue with constellations of extinct animals and plants. The work is featured in the article Pi in the Sky at the Scientific American SA Visual blog.
Year 2017 of the Pi Day Art collection
The 2016 π Day art imagines the digits of Pi as physical masses collapsing under gravity and is featured in the articles The Gravity of Pi and The Boundless Beauty of Pi at the Scientific American [SA Visual blog](http://blogs.scientificamerican.com/sa-visual.
Year 2016 of the Pi Day Art collection
The 2015 π Day art takes a Mondrain perspective on π. The art was used in a collaboration with Max Cooper for his track Transcendental Tree Map from the album Yearning for the Infinite. Animation by Nick Cobby and myself. Watch the full show at the Barbican Centre.
Year 2015 of the Pi Day Art collection
The 2014 π Day art draws circles and folds paths and explores the Feynman Point. It's all quite hypnotic.
Year 2014 of the Pi Day Art collection
The 2013 π Day art inaugurated my π Day art series. Yup, I drew some circles."
Year 2013 of the Pi Day Art collection
news + thoughts

Neural network primer

Mon 06-02-2023

Nature is often hidden, sometimes overcome, seldom extinguished. —Francis Bacon

In the first of a series of columns about neural networks, we introduce them with an intuitive approach that draws from our discussion about logistic regression.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Nature Methods Points of Significance column: Neural network primer. (read)

Simple neural networks are just a chain of linear regressions. And, although neural network models can get very complicated, their essence can be understood in terms of relatively basic principles.

We show how neural network components (neurons) can be arranged in the network and discuss the ideas of hidden layers. Using a simple data set we show how even a 3-neuron neural network can already model relatively complicated data patterns.

Derry, A., Krzywinski, M & Altman, N. (2023) Points of significance: Neural network primer. Nature Methods 20.

Background reading

Lever, J., Krzywinski, M. & Altman, N. (2016) Points of significance: Logistic regression. Nature Methods 13:541–542.

Cell Genomics cover

Mon 16-01-2023

Our cover on the 11 January 2023 Cell Genomics issue depicts the process of determining the parent-of-origin using differential methylation of alleles at imprinted regions (iDMRs) is imagined as a circuit.

Designed in collaboration with with Carlos Urzua.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Our Cell Genomics cover depicts parent-of-origin assignment as a circuit (volume 3, issue 1, 11 January 2023). (more)

Akbari, V. et al. Parent-of-origin detection and chromosome-scale haplotyping using long-read DNA methylation sequencing and Strand-seq (2023) Cell Genomics 3(1).

Browse my gallery of cover designs.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
A catalogue of my journal and magazine cover designs. (more)

Science Advances cover

Thu 05-01-2023

My cover design on the 6 January 2023 Science Advances issue depicts DNA sequencing read translation in high-dimensional space. The image showss 672 bases of sequencing barcodes generated by three different single-cell RNA sequencing platforms were encoded as oriented triangles on the faces of three 7-dimensional cubes.

More details about the design.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
My Science Advances cover that encodes sequence onto hypercubes (volume 9, issue 1, 6 January 2023). (more)

Kijima, Y. et al. A universal sequencing read interpreter (2023) Science Advances 9.

Browse my gallery of cover designs.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
A catalogue of my journal and magazine cover designs. (more)

Regression modeling of time-to-event data with censoring

Mon 21-11-2022

If you sit on the sofa for your entire life, you’re running a higher risk of getting heart disease and cancer. —Alex Honnold, American rock climber

In a follow-up to our Survival analysis — time-to-event data and censoring article, we look at how regression can be used to account for additional risk factors in survival analysis.

We explore accelerated failure time regression (AFTR) and the Cox Proportional Hazards model (Cox PH).

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Nature Methods Points of Significance column: Regression modeling of time-to-event data with censoring. (read)

Dey, T., Lipsitz, S.R., Cooper, Z., Trinh, Q., Krzywinski, M & Altman, N. (2022) Points of significance: Regression modeling of time-to-event data with censoring. Nature Methods 19.

Music video for Max Cooper's Ascent

Tue 25-10-2022

My 5-dimensional animation sets the visual stage for Max Cooper's Ascent from the album Unspoken Words. I have previously collaborated with Max on telling a story about infinity for his Yearning for the Infinite album.

I provide a walkthrough the video, describe the animation system I created to generate the frames, and show you all the keyframes

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Frame 4897 from the music video of Max Cooper's Asent.

The video recently premiered on YouTube.

Renders of the full scene are available as NFTs.

Gene Cultures exhibit — art at the MIT Museum

Tue 25-10-2022

I am more than my genome and my genome is more than me.

The MIT Museum reopened at its new location on 2nd October 2022. The new Gene Cultures exhibit featured my visualization of the human genome, which walks through the size and organization of the genome and some of the important structures.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
My art at the MIT Museum Gene Cultures exhibit tells shows the scale and structure of the human genome. Pay no attention to the pink chicken.

© 1999–2023 Martin Krzywinski | contact | Canada's Michael Smith Genome Sciences CentreBC Cancer Research CenterBC CancerPHSA