Martin Krzywinski / Canada's Michael Smith Genome Sciences Centre / mkweb.bcgsc.ca Martin Krzywinski / Canada's Michael Smith Genome Sciences Centre / mkweb.bcgsc.ca - contact me Martin Krzywinski / Canada's Michael Smith Genome Sciences Centre / mkweb.bcgsc.ca on Twitter Martin Krzywinski / Canada's Michael Smith Genome Sciences Centre / mkweb.bcgsc.ca - Lumondo Photography Martin Krzywinski / Canada's Michael Smith Genome Sciences Centre / mkweb.bcgsc.ca - Pi Art Martin Krzywinski / Canada's Michael Smith Genome Sciences Centre / mkweb.bcgsc.ca - Hilbertonians - Creatures on the Hilbert CurveMartin Krzywinski / Canada's Michael Smith Genome Sciences Centre / mkweb.bcgsc.ca - Pi Day 2020 - Piku
Drive, driven. Gave, given.YelloGive me a number of games.more quotes

3.14: curious


The Outbreak Poems — artistic emissions in a pandemic


visualization + design

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
A `\pi` day music video!: Transcendental Tree Map premieres on 2020 Pi Day from Max Cooper's Yearning for the Infinite. Animation by Nick Cobby and myself. Watch live from Barbican Centre.
Music video of the “Transcendental Tree Map” Max Cooper's Yearning for the Infinite album. This video premiered on 2020 Pi Day. Music by Max Cooper. Animation by Nick Cobby and myself.
Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
The 2020 Pi Day art celebrates digits of `\pi` with piku (パイク) —poetry inspired by haiku.
They serve as the form for The Outbreak Poems.
Tau Day tree map animation of 8,909 digits of `\tau = 2 \pi` created with 40,015 lines. The video is 6:28 minutes long.

`\pi` Day 2020 Art — Digits, poetically.

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.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
All art posters are available for purchase.
I take custom requests.
3 Little `\pi`,
1 what
4 can you tell us?

Welcome to this year's celebration of `\pi` and mathematics. Among the chaos of CORVID-19, this year `\pi` Day celebrations are short poetic emissions I call “piku” . They are brief pauses for the time.

Start by reading how piku are constructed and then browse submitted piku. Consider participating by submitting your own piku. All you need is a pen and a few (small) words. Very therapeutic.

But if the words here don't help, immerse yourself in my coronavirus art. It's quite catching.

If you enjoy poetry and words, see how I convert spam into poems in the style of ee cummings and if you like to see words arrange on page, look through my typographic art.

3 Piku are
1 brief
4 pauses just in
1 time.

You may know the haiku (俳句) as a short three line poem whose lines traditionally have 5, 7 and 5 syllables (specifically, morae or phonetic sounds).

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Scribbles on Shonan Village Center notepad on which the idea was born. I am grateful for being invited to the Formalizing Biological and Medical Visualization (Shonan Meeting 167) in which the idea formed. (zoom)

On a recent trip to Japan I was looking to my environment for inspiration for this year's `\pi` Day. I also really wanted a scheme that would allow people to contribute to the art so that everyone could be both a participant and an audience.

After scribbling for a little bit (or a long while), I came up with the idea of a piku (`\pi`ku, パイク). Analogously to a haiku, the piku is poem whose structure is constrained. But in this case, the constraints are the digits of `\pi` itself.

The piku

The simplest piku is a 3 phrase poem with 3, 1 and 4 syllables, respectively. Perhaps the most trivial piku is just the list of digits.

3 Three one four
1 One
4 Five nine two six.

Specifically, Haiku count the number of phonetic sounds which isn't always the same as syllables. For example, the word "any" has two such sounds: a-ny.

If you're interested in how the counting of sounds is done in Japanese, read about marking time and beats in Haiku.

But a more fun one would be

3 A Three and
1 A
4 One and a four.

Longer words can be used, of course. But watch out for the lines that require a single syllable.

3 Numbers are
1 all
4 Equally fun.
3 Land meets sky.
1 Oh,
4 It's you again!

You can use hyphenation to work around the syllable count.

3 Memories
1 for-
4 get yourself then.

plural of piku is piku

Piku is singulare tantum—its plural form is the same as its singular.

This is because its inspiration is the haiku and in Japanese nouns do not have different singular and plural forms,

3 Piku is
1 the
4 piku plural.

Longer piku

In general, a piku may have more than 3 lines. This reflects the fact that the digits of `\pi` do not terminate.

3 Land meets sky.
1 Oh,
4 It's you again!
1 Yes,
5 Who did you expect?

The endless piku is just waiting to be written. Well... started, at least.

Handling zeros

The digit zero is a line with no syllables and corresponds to a compulsory verse break. But because the first zero in `\pi` is at digit 33, you wouldn't see a verse break for a while.

Therefore, you're free to introduce a verse break anywhere in the piku (this does not use up a digit). For example,

3 Hot air breeze
1 cools
4 much hotter things.

3 F 0 0
1 red
4 You add the light.

Generalizing the piku — the nku

Any number, `n`, has its own nku. The rules for its construction are the same: each digit generates a line with corresponding number of syllables.

For example, the haiku is an nku for `n = 575`.

The year of your birth has an nku—you might want to try composing one to reflect on your origins.

In fact, any date (e.g. DDMMYYYY) can be made into an nku. This year's `\pi` date in this format is 14032020 and here's one possible nku.

1 Dust
4 in space vacuum
0
3 clogs alien
2 machines.
0
2 Bummer.
0

The trailing zero in the number creates a verse break at the end of a poem. This can be ignored or used to generate a blank line if the poem is set with other text on the page.

VIEW ALL

news + thoughts

Poster Design Guidelines

Wed 15-07-2020

Clear, concise, legible and compelling.

The PDF template is a poster about making posters. It provides design, typography and data visualiation tips with minimum fuss. Follow its advice until you have developed enough design sobriety and experience to know when to go your own way.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Poster Design Guidelines — Clear, concise, legible and compelling..

The SEIRS model for infectious disease dynamics

Thu 18-06-2020

Realistic models of epidemics account for latency, loss of immunity, births and deaths.

We continue with our discussion about epidemic models and show how births, deaths and loss of immunity can create epidemic waves—a periodic fluctuation in the fraction of population that is infected.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Nature Methods Points of Significance column: The SEIRS model for infectious disease dynamics. (read)

This column has an interactive supplemental component (download code) that allows you to explore epidemic waves and introduces the idea of the phase plane, a compact way to understand the evolution of an epidemic over its entire course.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Nature Methods Points of Significance column: The SEIRS model for infectious disease dynamics. (Interactive supplemental materials)

Bjørnstad, O.N., Shea, K., Krzywinski, M. & Altman, N. (2020) Points of significance: The SEIRS model for infectious disease dynamics. Nature Methods 17:557–558.

Background reading

Bjørnstad, O.N., Shea, K., Krzywinski, M. & Altman, N. (2020) Points of significance: Modeling infectious epidemics. Nature Methods 17:455–456.

Gene Machines

Fri 05-06-2020

Shifting soundscapes, textures and rhythmic loops produced by laboratory machines.

In commemoration of the 20th anniversary of Canada's Michael Smith Genome Sciences Centre, Segue was commissioned to create an original composition based on audio recordings from the GSC's laboratory equipment, robots and computers—to make “music” from the noise they produce.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Gene Machines by Segue. Now available on vinyl.

Virus Mutations Reveal How COVID-19 Really Spread

Mon 01-06-2020

Genetic sequences of the coronavirus tell story of when the virus arrived in each country and where it came from.

Our graphic in Scientific American's Graphic Science section in the June 2020 issue shows a phylogenetic tree based on a snapshot of the data model from Nextstrain as of 31 March 2020.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Virus Mutations Reveal How COVID-19 Really Spread. Text by Mark Fischetti (Senior Editor), art direction by Jen Christiansen (Senior Graphics Editor), source: Nextstrain (enabled by data from GISAID).

Cover of Nature Cancer April 2020

Mon 27-04-2020

Our design on the cover of Nature Cancer's April 2020 issue shows mutation spectra of patients from the POG570 cohort of 570 individuals with advanced metastatic cancer.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Each ellipse system represents the mutation spectrum of an individual patient. Individual ellipses in the system correspond to the number of base changes in a given class and are layered by mutation count. Ellipse angle is controlled by the proportion of mutations in a class within the sample and its size is determined by a sigmoid mapping of mutation count scaled within the layer. The opacity of each system represents the duration since the diagnosis of advanced disease. (read more)

The cover design accompanies our report in the issue Pleasance, E., Titmuss, E., Williamson, L. et al. (2020) Pan-cancer analysis of advanced patient tumors reveals interactions between therapy and genomic landscapes. Nat Cancer 1:452–468.

Modeling infectious epidemics

Tue 16-06-2020

Every day sadder and sadder news of its increase. In the City died this week 7496; and of them, 6102 of the plague. But it is feared that the true number of the dead this week is near 10,000 ....
—Samuel Pepys, 1665

This month, we begin a series of columns on epidemiological models. We start with the basic SIR model, which models the spread of an infection between three groups in a population: susceptible, infected and recovered.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Nature Methods Points of Significance column: Modeling infectious epidemics. (read)

We discuss conditions under which an outbreak occurs, estimates of spread characteristics and the effects that mitigation can play on disease trajectories. We show the trends that arise when "flattenting the curve" by decreasing `R_0`.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Nature Methods Points of Significance column: Modeling infectious epidemics. (read)

This column has an interactive supplemental component (download code) that allows you to explore how the model curves change with parameters such as infectious period, basic reproduction number and vaccination level.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Nature Methods Points of Significance column: Modeling infectious epidemics. (Interactive supplemental materials)

Bjørnstad, O.N., Shea, K., Krzywinski, M. & Altman, N. (2020) Points of significance: Modeling infectious epidemics. Nature Methods 17:455–456.