Hacked Star Map - Computerphile

Computerphile · Intermediate ·📐 ML Fundamentals ·7y ago

Key Takeaways

This video features a knitted star map created with a hacked knitting machine and a robot arm, controlled by a Raspberry Pi and an ESP32 chip, showcasing a unique application of machine learning and automation in textile production. The project demonstrates the use of algorithms and computer science to create a complex, interactive star map.

Full Transcript

right so this is uh a knitted star map of the night sky it's a it's a little bit big so it's um 2.8 meters tall by 4.4 meters wide um so it's not a small thing to carry in your luggage on a plane halfway around the world so it's 15 kilos as well um yeah there's a bit tricky getting on the plane so we set up an uh esp32 chip which is listening to a aws iot trigger it's got an onboard wi-fi that blue light is actually telling me that it hasn't quite connected to aws yet so it's just working its way through when the blue light turns off mean it's fine let me tell you about knitting i i took a a domestic knitting machine from the 1980s we're talking really old-school tech here um with a 32-bit um on-board computer and uh and i hacked it to turn it into a modern-day network printer so there was a few hacks involved with that one so first of all i used a raspberry pi to interface between the onboard computer and my computer so the raspberry pi is obviously sitting on the network and it's running a website which i can connect to with my laptop in a completely different room and then i can send it an image and it can process that image give me a preview of what it'll look like in the knitted fabric and then i can press print and there's there's still a little bit of work involved in actually getting the print started physically with the knitting machine you have to cast on it's there's a bit of a process there but once it's running um i've got a robot arm that's running it backwards and forwards to actually perform the knitting and i also built with with the help of from my husband john spencer i built a um an automatic color changer so i can do multiple color knittings not just black and white like multi-color knitting um on this on this old school knitting machine normally they're designed um kind of like a sewing machine in the sense that you sit there and you actively engage with the machine and you are constantly manipulating it in order to produce the end result which is the knitting um so in the efforts of automating it i took out an entire an entire process of creating knitting patterns so i don't actually create anything i create an image and then the process will create the pattern for me um and then uh yeah and i've automated the actual color changing part which which means that i don't need to sit with a knitting machine at all once it's running one of my major contributions to the knitting to the machine knitting community was a whole new algorithm that i created to create one knit per pixel knitting in three colours so that's something that these machines were never previously capable of doing so i created a whole new algorithm in order to do that um and i think the main reason why no one had done before is because it takes a lot of processing to sort of think through the problem and get it working so i was able to create a few different algorithms and then i you know been the computer scientist i tested lots of different algorithms and i came up with one that that had sort of the best results um which is the one you see behind me oh there you go there's pisces going off before this piece was actually finished i entered it into something called rea io which is a three-day hackathon that my work runs uh for over three days every quarter which is amazing um and i um yeah i did a call out to get helpers to light up the constellations mostly um laptop covers scarves um baby blankets yeah so i've done i've done a few things nothing quite this big though so this was a bit intimidating this particular project i don't know too much about astronomy i'm very much an amateur but i plotted where the planets will line up on the actual knittings they line up to a particular date and time and i've been working this project for a few months now so i was kind of hoping that i would hit the deadline and i did actually hit it this tapestry was installed um by or before 6 6 p.m friday the 31st which is the day that emf opened this knitting was installed ready to go and the planets aligned at that time i'm telling you could you see them or was the cloud cover it was actually still daylight but it did check that night i did take a few hours later and yeah the the moon was spot on the the planets were pretty much in the right spot so yeah that was that was satisfying what happens to this now oh right um a few people have asked me that question um i i really want to keep it in the public domain somewhere um so i i will be taking it home with me uh so nothing's really finalized there yet but um yeah hopefully people can actually come and see it and like you know touch knitting it's it's a it's a fabric it you know people need to touch it so hopefully we'll stay in the public domain somewhere it took a lot longer than i was hoping mostly because i was having a problem with um with the yarn getting caught on the left side right near the color changer so i mean yarn is a fuzzy fuzzy material

Original Description

EMF Festival hosts all kinds of projects. Sarah Spencer's star map is a web-linked interactive star map created with a robot arm on a hacked knitting machine.... EMF Camp is a non-profit UK camping festival for those with an inquisitive mind or an interest in making things: hackers, artists, geeks, crafters, scientists, and engineers. It happens every two years. http://bit.ly/C_EMF (EDIT: Some have said this isn't computerphile territory - a star map created by a hacked printer using a robot arm and a raspberry pi which was then hacked at a hackathon to have illuminating constellations which connect via AWS to a website?!?) EXTRA BITS: https://youtu.be/syY5vHhDSrE More about Sarah and her hacked knitting machine: https://bit.ly/C_Knitting https://www.facebook.com/computerphile https://twitter.com/computer_phile This video was filmed and edited by Sean Riley. Computer Science at the University of Nottingham: https://bit.ly/nottscomputer Computerphile is a sister project to Brady Haran's Numberphile. More at http://www.bradyharan.com
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Computerphile · Computerphile · 0 of 60

← Previous Next →
1 Follow the Cookie Trail - Computerphile
Follow the Cookie Trail - Computerphile
Computerphile
2 EXTRA BITS - Follow the Cookie Trail - Computerphile
EXTRA BITS - Follow the Cookie Trail - Computerphile
Computerphile
3 Musical Floppy Drives - Computerphile
Musical Floppy Drives - Computerphile
Computerphile
4 The Hair Algorithm - Computerphile
The Hair Algorithm - Computerphile
Computerphile
5 Getting Sorted & Big O Notation - Computerphile
Getting Sorted & Big O Notation - Computerphile
Computerphile
6 Quick Sort - Computerphile
Quick Sort - Computerphile
Computerphile
7 Hyper History and Cyber War - Computerphile
Hyper History and Cyber War - Computerphile
Computerphile
8 Entropy in Compression - Computerphile
Entropy in Compression - Computerphile
Computerphile
9 Original Elite on the BBC B - Computerphile
Original Elite on the BBC B - Computerphile
Computerphile
10 IP Addresses and the Internet - Computerphile
IP Addresses and the Internet - Computerphile
Computerphile
11 A Career in Video Games - Computerphile
A Career in Video Games - Computerphile
Computerphile
12 Error Detection and Flipping the Bits - Computerphile
Error Detection and Flipping the Bits - Computerphile
Computerphile
13 Programming BASIC and Sorting - Computerphile
Programming BASIC and Sorting - Computerphile
Computerphile
14 Birthplace of the World Wide Web - Computerphile
Birthplace of the World Wide Web - Computerphile
Computerphile
15 Punch Card Programming - Computerphile
Punch Card Programming - Computerphile
Computerphile
16 Programming Paradigms - Computerphile
Programming Paradigms - Computerphile
Computerphile
17 CERN Computing Centre (and mouse farm) - Computerphile
CERN Computing Centre (and mouse farm) - Computerphile
Computerphile
18 Error Correction - Computerphile
Error Correction - Computerphile
Computerphile
19 Home-Made Code - Computerphile
Home-Made Code - Computerphile
Computerphile
20 Security of Data on Disk - Computerphile
Security of Data on Disk - Computerphile
Computerphile
21 Gesture Controls - Computerphile
Gesture Controls - Computerphile
Computerphile
22 How Intelligent is Artificial Intelligence? - Computerphile
How Intelligent is Artificial Intelligence? - Computerphile
Computerphile
23 Encryption and Security Agencies - Computerphile
Encryption and Security Agencies - Computerphile
Computerphile
24 Virtual Machines Power the Cloud - Computerphile
Virtual Machines Power the Cloud - Computerphile
Computerphile
25 Hacking Websites with SQL Injection - Computerphile
Hacking Websites with SQL Injection - Computerphile
Computerphile
26 How Huffman Trees Work - Computerphile
How Huffman Trees Work - Computerphile
Computerphile
27 Cracking Websites with Cross Site Scripting - Computerphile
Cracking Websites with Cross Site Scripting - Computerphile
Computerphile
28 Cloud Computing (Cloudy with a Chance of Pizza) - Computerphile
Cloud Computing (Cloudy with a Chance of Pizza) - Computerphile
Computerphile
29 Texting Cabbage with a Recorder - Computerphile
Texting Cabbage with a Recorder - Computerphile
Computerphile
30 Hashing Algorithms and Security - Computerphile
Hashing Algorithms and Security - Computerphile
Computerphile
31 How YouTube Works - Computerphile
How YouTube Works - Computerphile
Computerphile
32 How NOT to Store Passwords! - Computerphile
How NOT to Store Passwords! - Computerphile
Computerphile
33 A New Golden Age of Video Games - Computerphile
A New Golden Age of Video Games - Computerphile
Computerphile
34 A Universe of Triangles - Computerphile
A Universe of Triangles - Computerphile
Computerphile
35 Cross Site Request Forgery - Computerphile
Cross Site Request Forgery - Computerphile
Computerphile
36 The True Power of the Matrix (Transformations in Graphics) - Computerphile
The True Power of the Matrix (Transformations in Graphics) - Computerphile
Computerphile
37 The Great 202 Jailbreak - Computerphile
The Great 202 Jailbreak - Computerphile
Computerphile
38 EXTRA BITS - Printing and Typesetting History - Computerphile
EXTRA BITS - Printing and Typesetting History - Computerphile
Computerphile
39 Triangles to Pixels - Computerphile
Triangles to Pixels - Computerphile
Computerphile
40 The Problem with Time & Timezones - Computerphile
The Problem with Time & Timezones - Computerphile
Computerphile
41 The Visibility Problem - Computerphile
The Visibility Problem - Computerphile
Computerphile
42 Lights and Shadows in Graphics - Computerphile
Lights and Shadows in Graphics - Computerphile
Computerphile
43 The Penguin Barcode - Computerphile
The Penguin Barcode - Computerphile
Computerphile
44 Typesetters in the '80s - Computerphile
Typesetters in the '80s - Computerphile
Computerphile
45 The Font Magicians - Computerphile
The Font Magicians - Computerphile
Computerphile
46 The Little Mac with the Big Bite - Computerphile
The Little Mac with the Big Bite - Computerphile
Computerphile
47 EXTRA BITS - More on the Original Mac at 30 - Computerphile
EXTRA BITS - More on the Original Mac at 30 - Computerphile
Computerphile
48 XP to Ubuntu with an 8yr old Hacktop - Computerphile
XP to Ubuntu with an 8yr old Hacktop - Computerphile
Computerphile
49 EXTRA BITS - Hacktop Real-Time Boot Comparison - Computerphile
EXTRA BITS - Hacktop Real-Time Boot Comparison - Computerphile
Computerphile
50 EXTRA BITS - Making a Bootable USB in Linux - Computerphile
EXTRA BITS - Making a Bootable USB in Linux - Computerphile
Computerphile
51 EXTRA BITS - Installing Ubuntu Permanently - Computerphile
EXTRA BITS - Installing Ubuntu Permanently - Computerphile
Computerphile
52 The Dawn of Desktop Publishing - Computerphile
The Dawn of Desktop Publishing - Computerphile
Computerphile
53 What is Bootstrapping? - Computerphile
What is Bootstrapping? - Computerphile
Computerphile
54 Reverse Polish Notation and The Stack - Computerphile
Reverse Polish Notation and The Stack - Computerphile
Computerphile
55 Home-Made Z80 Retro Computer - Computerphile
Home-Made Z80 Retro Computer - Computerphile
Computerphile
56 Should Everybody Learn to Code? - Computerphile
Should Everybody Learn to Code? - Computerphile
Computerphile
57 Programming in PostScript - Computerphile
Programming in PostScript - Computerphile
Computerphile
58 Heartbleed, Running the Code - Computerphile
Heartbleed, Running the Code - Computerphile
Computerphile
59 YouTube's Secret Algorithm - Computerphile
YouTube's Secret Algorithm - Computerphile
Computerphile
60 YouTube Search & Discovery - Computerphile
YouTube Search & Discovery - Computerphile
Computerphile

This video showcases a unique application of machine learning and automation in textile production, using a hacked knitting machine and a robot arm to create an interactive star map. The project demonstrates the use of algorithms and computer science to create complex, interactive designs. By applying mathematical concepts and developing algorithms, viewers can learn to create their own automated systems.

Key Takeaways
  1. Hack a domestic knitting machine to turn it into a modern-day network printer
  2. Interface the onboard computer with a Raspberry Pi
  3. Create a website to send images to the knitting machine
  4. Develop an algorithm to create one knit per pixel knitting in three colours
  5. Automate the color changing part of the knitting process
  6. Integrate the knitting machine with a robot arm to perform the knitting
  7. Test and refine the algorithm and automated system
💡 The project demonstrates the potential for machine learning and automation to be applied to non-traditional areas, such as textile production, and highlights the importance of algorithms and computer science in creating complex, interactive designs.

Related Reads

📰
Learning the Loop — #101 | What Is Machine Learning, Really?
Understand the fundamentals of machine learning and its core concepts
Medium · AI
📰
Learning the Loop — #101 | What Is Machine Learning, Really?
Learn the fundamentals of machine learning and its definitions to build a strong foundation in the field
Medium · Deep Learning
📰
The model benchmark is not your production benchmark
A model's benchmark performance doesn't guarantee production readiness, and shipping a model requires more than just evaluation metrics
Dev.to · hefty
📰
The Hidden Reason Self-Taught Data Scientists Are Failing Technical Interviews in 2026
Self-taught data scientists are failing technical interviews due to a lack of production-level experience, learn how to bridge this gap
Medium · Python
Up next
How to Train AI to Play Games ? How AI Learns to Play ? Several Methods EXPLAINED
MaxonShire
Watch →