Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Intersecting Python, code and art
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Sabrina Sims
March 07, 2020
Programming
36
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Intersecting Python, code and art
Here's an introduction to creative coding, with no experience required!
Sabrina Sims
March 07, 2020
Other Decks in Programming
See All in Programming
AutonomyとControlのあいだ:Graflowで記述するAIエージェント協調
myui
0
110
ふつうのFeature Flag実践入門
irof
7
3.6k
エージェンティックRAGにAWSで入門しよう!
har1101
8
1.2k
RTSPクライアントを自作してみた話
simotin13
0
510
Oxlintのカスタムルールの現況
syumai
6
1k
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
500
Technical Debt: Understanding it Rightly, Engaging it Rightly #LaravelLiveJP
shogogg
0
200
AI駆動開発勉強会 広島支部 第一回勉強会 AI駆動開発概要とワークショップ
hayatoshimiu
0
450
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
220
CSC307 Lecture 17
javiergs
PRO
0
320
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
160
GitHub Copilot CLIのいいところ
htkym
2
1.3k
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
234
18k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
54k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
580
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
480
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
250
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Six Lessons from altMBA
skipperchong
29
4.3k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
440
Testing 201, or: Great Expectations
jmmastey
46
8.2k
Making the Leap to Tech Lead
cromwellryan
135
9.9k
Documentation Writing (for coders)
carmenintech
77
5.4k
Transcript
Intersecting Python, code and art Sabrina Sims @sabrinacodes
About Me • Programmer • Artist • Avid Zine Fan/Maker
None
What is creative coding?
Creative coding has helped me relate to code better
Creative coding has introduced me to a whole new world
of code
LA Tiny Tech Zine Fair 2019
More people should try creative coding and other artistic things
Problem-solving is a creative process
Experimenting with creativity could give you a different perspective
None
Making things is fun
There’s no one single way to be creative
Ways to be creative with code! • Tech Zines •
Processing • PyGame • Raspberry Pis and Livecoding
Tech Zines
What’s a zine?
None
Zines are self-published works, usually handmade and low cost
They can be about anything!
Zines are special because they are tactile objects
What can tech zines be used for?
To share your love of a topic
To teach people about a difficult or complex concept
None
You can find Julia Evans’ tech zines at wizardzines.com
To give people advice about an experience
How do you make a zine?
Supplies you need: Paper, pen, stapler, scissors
How to make a zine • Decide on an idea
• Pick a format • Plan your text • Create!
To decide on an idea, choose something you like and
know well
How to make a zine • Decide on an idea
• Pick a format • Plan your text • Create!
Zines have many different formats
Two basic formats: Mini zine and booklet zine
None
Things to consider when picking a format
None
Mini zine - bite-size but lacks space
None
Booklet - room for text and pictures but might be
a lot to read
Consider Color vs Black and White
How to make a zine • Decide on an idea
• Pick a format • Plan your text • Create!
Decide what info and images you want to include
Brainstorm!
Questions to ask yourself:
Who’s your audience?
What’s the main take-away?
Plan where you want the content to go in the
zine
None
How to make a zine • Decide on an idea
• Pick a format • Plan your text • Create!
When you make your zine, keep in mind it doesn’t
have to be perfect
Processing
“Processing is a flexible software sketchbook and a language for
learning how to code within the context of the visual arts.” - Processing.org
Processing is an open source visual language based in Java.
Here’s an example of a sketch in Processing.
None
Here is the code I used to make it.
None
Processing has multiple Python modes
They are Processing.py and p5 (not to be confused with
p5.js)
Processing.py: built-in mode made by the Processing Foundation
A comparison between default Processing and Processing.py
None
None
p5: library made with Processing’s API
Differences between p5 and regular Processing
You can run p5 in an Python IDE
Processing.py is run in Processing’s own IDE
How to get started with Processing
https://processing.org/t utorials/gettingstarted
Processing is approachable for beginners!
PyGame
PyGame is a library for Python used to make games
It's a way to make multimedia games using Python syntax
Here's an example of PyGame code
None
The most basic thing you can do in PyGame is
move images on a surface
Moving images on a surface is called bliting
None
None
None
None
None
None
None
None
None
None
None
In PyGame you can have keyboard and mouse functionality
Here are some examples of games made in PyGame
None
None
None
Unbeatable
https://www.pygame.or g/wiki/GettingStarted
Raspberry Pis
Raspberry Pi 3 - Model B
Raspberry Pis are mini computers with many features
GPIO pins connect the Raspberry Pi to hardware components
Touchscreen Display
Adafruit RGB Matrix HAT
Python can be used to run programs on the Raspberry
Pi
One art project you can make with RPis and Python
is generative art
None
None
None
http://projects.raspberry pi.org/en/projects/mode rn-art
You can run Processing on a Raspberry Pi
There’s so many things you can do on a Raspberry
Pi!
Livecoding
Livecoding is a performance where people edit code in real
time
https://www.youtube.co m/watch?v=K6mdrD-e0 p8 Source: Association for Computing Machinery
There are many livecoding languages and libraries
Sonic Pi is a program that’s approachable for new livecoders
None
https://sonic-pi.net/ tutorial.html
https://github.com/ toplap/awesome-liv ecoding
Most cities should have a livecoding meetup or group
Key word to search for events: Algorave
Go out there and try new things!
Sources: https://processing.org/ https://pypi.org/project/p5/ https://www.pygame.org/ https://www.raspberrypi.org/ https://projects.raspberrypi.org https://www.youtube.com/watch?v=K6mdrD -e0p8/
More Sources: https://wizardzines.com/zines/oh-shit-git/ https://tyleryin.co/Tiny-Tech-Zines https://github.com/ahmed4end/unbeatabl e-tic-tac-toe-with-GUI-pygame https://pastebin.com/qitLVDVR https://github.com/toplap/awesome-liveco ding