A tool for texts, pictures and sounds
Knot
Knot shows what repeats in your material. Repeats are clues to how a thing was made.
How to use it
- Choose. Pick Text, Picture or Sound below. Add your own material, or try an example.
- Read. Knot takes your material apart with a few plain questions, the kind a maker would ask. Each answer says what Knot found and how it checked.
- Undo. Use the answers as clues. Write down three steps you think made your material. Then compare them with Knot’s three steps.
- Redo. Give your three steps to a partner. Can they make your material again from the steps alone?
- Check. Send your tile to the room. Open the Room tab: the group’s pieces gather into one collage, there and on the screen at the front.
Knot reads your file in this browser. Your file stays on your device. When you press Send, a small tile goes to the room: a few numbers, a name and, if you choose, a small piece of your material, such as a thumbnail, a few words or a pitch line.
What a text comes back to
Text
Paste three or more sentences, or a poem or a list with three or more lines. Press Tie. Knot puts each sentence on a circle as a dot and ties two dots when they share a word. Then it asks the questions a writer would ask: Which words come back? How far apart? Does the end go back to the start? Each answer is a clue to how the text was made.
Paste three or more sentences or lines, then press Tie.
Words that make the ties
Tap a word to see its ties. The small number counts the sentences or lines that use it.
What Knot found
Returns map
Words set aside
Knot skips short, common words, such as “the” and “and”. If one of them matters in your text, tap it to count it again.
Your text, dot by dot
Dark numbers mark the centre.
How Knot reads a text, with sources
Knot splits the text into sentences, or into lines for a poem, a song or a list. It reads each word in small letters. In Arabic script it removes vowel marks, Qur’anic marks and tatweel, and it treats the Arabic and Persian forms of alef, kaf and yeh as one letter, so a word typed two ways counts once. Urdu ے stays apart from ی. English plural endings, and endings in “ing”, count as one word. Knot skips short, common words; tap one to count it.
To compare with chance, Knot shuffles your own words 199 times and counts again. Then it says if your text sits above, below or among the shuffled copies. This matters: two words fall in reverse order by chance one time in three (Edwards and Edwards).
The centre follows Michael Hoey’s links between sentences (Hoey 1991), weighed as in TextRank (Mihalcea and Tarau 2004). A ring ends where it began (Douglas 2007). In a ghazal, the radīf ends the lines and the qāfiya rhymes before it (Faruqi and Pritchett 1991). The returns map follows Church and Helfman (1993). The circle follows W. Bradford Paley’s TextArc (2002).
Church, K. W., and J. I. Helfman. 1993. Journal of Computational and Graphical Statistics 2 (2): 153 to 174. Douglas, M. 2007. Thinking in Circles. Yale University Press. Edwards, B. F., and W. F. Edwards. Does chiasmus appear in the Book of Mormon by chance? BYU Studies. Faruqi, S. R., and F. W. Pritchett. 1991. Lyric poetry in Urdu: the ghazal. Hoey, M. 1991. Patterns of Lexis in Text. Oxford University Press. Mihalcea, R., and P. Tarau. 2004. TextRank. Proceedings of EMNLP. Polyak, M., and O. Viro. 1994. International Mathematics Research Notices. Wattenberg, M. 2002. Arc diagrams. IEEE InfoVis. Word lists: stopwords-iso (MIT).
How a picture repeats
Picture
Choose a photo of a pattern: tiles, cloth, a page, a screen. Knot takes it apart with five questions a maker would ask. 1 Does it repeat? 2 Is there a star? 3 Which ways do the lines run? 4 How close are the stripes? 5 Which colours? Each answer is a clue to how the pattern was made. Photos of people and places usually show no repeat. That is a result too.
On a phone you can take the photo here. On a computer, drop or paste a picture. Tap the picture to test for a star at that spot.
What Knot found
How Knot reads a picture, with sources
Knot cuts the largest square from the middle of the picture and makes it grey. The stripe map is that square’s Fourier power spectrum, the same kind of picture a crystal makes under X-rays. Each spot stands for one set of stripes: far from the centre means thin stripes, and the angle shows their direction. The map does not show where the stripes sit.
For the repeating tile, Knot slides a copy of the picture over itself and keeps two slides where it lands (Liu, Collins and Tsin 2004). The line rose counts which way the edges run. For the star test, Knot turns the picture around one point by a half, a third and so on, up to a sixteenth, and checks for mirrors. A score near 1 means a close match.
Freeman, W. T., and M. Roth. 1995. Orientation histograms for hand gesture recognition. Grünbaum, B. 2006. What symmetry groups are present in the Alhambra? Notices of the AMS 53 (6). Hargittai, I., and M. Hargittai. 2020. IUCr Newsletter 28 (4). Heckbert, P. 1982. Color image quantization for frame buffer display. SIGGRAPH. Lee, S., R. T. Collins and Y. Liu. 2008. Rotation symmetry group detection via frequency analysis of frieze expansions. CVPR. Liu, Y., R. T. Collins and Y. Tsin. 2004. IEEE Transactions on Pattern Analysis and Machine Intelligence 26 (3): 354 to 371. Lu, P. J., and P. J. Steinhardt. 2007. Science 315: 1106 to 1110. Senechal, M. 1995. Quasicrystals and Geometry. Cambridge University Press. Shechtman, D., I. Blech, D. Gratias and J. W. Cahn. 1984. Physical Review Letters 53 (20): 1951 to 1953. Wichmann, B. 2008. Islamic tilings by symmetry group. Samarkand tiles: the Tuman Aqa tomb, Shah-i Zinda, about 1405; photo by Patrickringgenberg, CC BY 3.0, via Wikimedia Commons, cropped. Five waves: five stripe patterns at 72 degrees to each other, laid over one another.
What comes back in a recording
Sound
Choose a recording or a short video. Knot takes the sound apart with four questions. 1 What does it look like? 2 Where does it pause? 3 Which note is home? 4 Which parts come back? Each answer is a clue to how the sound was made: sung, recited, spoken or looped.
A voice memo, a song, a recitation, or the sound of a video. On a phone you can record a video here. Knot reads the first minute. Tap the sound picture to play from that moment.
What Knot found
Knot measures time, pitch and returns. It does not name a maqām, check tajwīd, identify a reciter or judge a recitation.
How Knot reads a sound, with sources
Knot cuts the first minute into short, overlapping slices and measures the energy in each, from 50 to 8,000 vibrations a second. That makes the sound picture, also called a spectrogram. Knot finds the main pitch by subharmonic summation (Hermes 1988) and counts it in cents from the voice’s own home note, the note it comes back to most. A pause is a quiet stretch of a quarter second or more.
The returns map compares the sound of each moment with each other moment. Parts that repeat draw bright lines next to the diagonal (Foote 1999).
During, J. Dawr. Encyclopaedia Iranica. Foote, J. 1999. Visualizing music and audio using self-similarity. ACM Multimedia 99: 77 to 80. Gabor, D. 1946. Theory of communication. Journal of the IEE 93. Gedik, A. C., and B. Bozkurt. 2010. Signal Processing 90 (4). Hermes, D. J. 1988. Journal of the Acoustical Society of America 83 (1): 257 to 264. Heydarian, P., and D. Bainbridge. 2019. Digital Libraries for Musicology. Sufinama: girah lagana. The sung phrase is made by the computer: seven notes, sung twice.
The group’s pieces, together
Room
Not in a room yet.
Join a room below, with the code from the screen at the front. Then the group’s pieces show here.
Who sent what
Compare
- Which pieces look like yours? Ask their makers for their three steps.
- Which threads tie pieces together, and what do they share?
- Do the texts, the pictures and the sounds repeat in different ways?
- What is missing from the room?
In a session, each person’s result becomes one piece. The pieces gather into one collage for the whole group, and the Girih view lays the same results out as girih tiles. This is the Check: put your piece next to the others and compare.
- Join. Type the room code from the screen at the front, below.
- Read. Take a text, a picture or a sound apart in its tab.
- Send. Press Send, below. Your piece joins the collage here and on the big screen.
From your result to the room
Your tile
Knot turns your result into a piece made from your material: a cut of your picture, the knot of your text with its words, or the ring of your sound. Its shape comes from what Knot found. In the room, the pieces gather into one collage. The girih tile shows the same result in the session’s girih: colour for the kind of material, line weight for how much comes back, a filled centre for a strong repeat.
Read a text, a picture or a sound first.
In a session, the screen at the front shows a room code. Type it here and press Join. Then you can send your tile, and the Room tab shows the group’s pieces together.