SlideShare une entreprise Scribd logo
1  sur  25
Télécharger pour lire hors ligne
CREATIVE CODING WITH
D3.JS
PARIS D3.JS
CREATIVE CODING WITH D3.JS
WHAT WILL YOU LEARN?
▸ What is generative art and creative code?
▸ d3 is not just for dataviz!
▸ The story of a side project
▸ The analog digital art of a Czech artist
▸ Creating and selling a digital product in a week
▸ Live demo of creative environment with d3
CREATIVE CODING WITH D3.JS
FABIAN DUBOIS
▸ Former Orange Labs Tokyo and
Locarise
▸ Data Visualisation and Web App
consultant
▸ Based in Tokyo, sometime Paris, Berlin,
Valencia
▸ Author of ‘Drawing LIKE VLADISLAV
MIRVALD WITH D3.js’
▸ twitter: @fabian_dubois
▸ blog: www.datamaplab.com
GENERATIVE ART AND CREATIVE CODING
GENERATIVE ART
▸ Art created by an ‘autonomous’
process.
▸ the artists defines the process, the
process generates the output.
▸ Often algorithmic
▸ Can be data driven
▸ See also: Generative design
(parametric architecture…)
▸ Some Fugue of Bach considered as
generative @AndruSenn
GENERATIVE ART AND CREATIVE CODING
CREATIVE CODING
▸ Use of code to generate art
▸ Roots in Demoscene
▸ Use in VJing, art installations…
▸ Popular tool: Processing (and now
p5.js)
▸ Also GIF Loop coder
▸ See also: glitch art
@IamCraigPickard
D3 IS NOT JUST
FOR DATAVIZ
D3 IS NOT JUST FOR DATAVIZ
ONE ANIMATED PIECE A DAY
▸ Created by John Firebaugh (2015)
▸ All made with d3.js
▸ Most of them around 40 lines of
code
▸ http://jfire.io/animations/
D3 IS NOT JUST FOR DATAVIZ
T.D3FC.IO
▸ Tweet-sized d3 animations
▸ write https://t.d3fc.io and it will be
rendered in GIF on the website
▸ use special helpers to reduce code
size.
▸ must fits under 116 characters!
D3 IS NOT JUST FOR DATAVIZ
STAINED GLASS
▸ d3 project by David Nowinsky
▸ Image filtering using
d3.geom.voronoi()
▸ http://david.nowinsky.net/stained-
glass/
D3 IS NOT JUST FOR DATAVIZ
PARTY MODE
▸ Play music from soundcloud and
get a sound visualisation
▸ Visuals made with d3
▸ Web audio API
▸ http://preziotte.com/partymode/
D3 IS NOT JUST FOR DATAVIZ
MAKING MUSIC WITH D3
▸ Adam Pearce
▸ Visual sequencer
▸ http://roadtolarissa.com/synth/
STORY OF A SIDE
PROJECT
MIRVALD’S ANALOG
DIGITAL ART
THE STORY OF A SIDE PROJECT
VLADISLAV MIRVALD
▸ 20th century Czech artist
(1921-2003)
▸ Constructivism movement
▸ Strong interest in geometric
construction
THE STORY OF A SIDE PROJECT
SOME PIECES FRO MIRVALD
Circular Structure (1969)
Continuous Cylinder (1979-1992)
Undulating Cylinder (1995)
THE STORY OF A SIDE PROJECT
GUMROAD’S SMALL PRODUCT LAB
CHALLENGE
▸ Gum road is a platform for selling
goods, in particular digital goods
▸ 1 week challenge:
▸ Create something
▸ Sell it!
THE STORY OF A SIDE PROJECT
THE E-BOOK
THE STORY OF A SIDE PROJECT
THE STORY OF A SIDE PROJECT
ONLY 2 CORE
CONCEPTS
USE DATA TO GENERATE SHAPES
PARAMETRICALLY.
IT CAN BE AS SIMPLE AS A
D3.RANGE()
CHANGE THE DATA TO UPDATE THE
DRAWING AND ANIMATE.
CAN BE TRIGGERED WITH
D3.TIMER() OR USER INTERACTION.
DEMO
LIVE DEMO
▸ With KORG nano KONTROL
▸ using https://github.com/shokai/korg-
nano-kontrol based on WebMIDI API
▸ to map inputs:
d3.scale().domain([0, 127])
TEXT
LINKS
▸ Creative coding sketches codedoodl.es (https://medium.com/@neilcarpenter/
introducing-codedoodl-es-598039758df8#.ifeve6ql7)
▸ GIF Loop coder (http://www.gifloopcoder.com/)
▸ p5.js (https://p5js.org/)
▸ 50 free copies of Draw like Vladislav Mirvald with d3.js ebook (https://gum.co/mirvald/
d3paris) with code `d3paris`.

Also some code here: https://github.com/fabid/mirvald-d3
▸ John Firebaugh’s d3 animations (http://jfire.io/animations/)
▸ About tweet-sized d3 (http://blog.scottlogic.com/2016/03/08/deconstructing-a-tweet-
sized-d3-creation.html)
▸ Creative coding Podcast (http://creativecodingpodcast.com/ )
THANK YOU.
@fabian_dubois
https://www.datamaplab.com
Get a copy of: 

Draw Like Vladislav with d3.js

https://gum.co/mirvald/slideshare

Contenu connexe

Tendances

Picasso cubism power point
Picasso cubism power pointPicasso cubism power point
Picasso cubism power point
Britney Cobb
 
ARTID111 Ancient Greek Art - Part 1
ARTID111 Ancient Greek Art - Part 1ARTID111 Ancient Greek Art - Part 1
ARTID111 Ancient Greek Art - Part 1
Edeliza Macalandag
 
Ncc art100 ch.1
Ncc art100 ch.1Ncc art100 ch.1
Ncc art100 ch.1
65swiss
 
Byzantine Art PowerPoint
Byzantine Art PowerPointByzantine Art PowerPoint
Byzantine Art PowerPoint
smolinskiel
 

Tendances (20)

Islamic art and stained glass
Islamic art and stained glassIslamic art and stained glass
Islamic art and stained glass
 
Dadaism
DadaismDadaism
Dadaism
 
District GDP of India
District GDP of IndiaDistrict GDP of India
District GDP of India
 
Post impressionism architecture
Post impressionism architecturePost impressionism architecture
Post impressionism architecture
 
Picasso cubism power point
Picasso cubism power pointPicasso cubism power point
Picasso cubism power point
 
Expressionism
ExpressionismExpressionism
Expressionism
 
Religion art
Religion artReligion art
Religion art
 
Proto-Renaissance
Proto-RenaissanceProto-Renaissance
Proto-Renaissance
 
Impressionism
ImpressionismImpressionism
Impressionism
 
Cubism
CubismCubism
Cubism
 
Abdur Rahman Chugtai Painter
Abdur Rahman Chugtai PainterAbdur Rahman Chugtai Painter
Abdur Rahman Chugtai Painter
 
Rembrandtpp
RembrandtppRembrandtpp
Rembrandtpp
 
ARTID111 Ancient Greek Art - Part 1
ARTID111 Ancient Greek Art - Part 1ARTID111 Ancient Greek Art - Part 1
ARTID111 Ancient Greek Art - Part 1
 
Ncc art100 ch.1
Ncc art100 ch.1Ncc art100 ch.1
Ncc art100 ch.1
 
Cubism
CubismCubism
Cubism
 
Fine art and existentialism
Fine art and existentialismFine art and existentialism
Fine art and existentialism
 
Early Christian Manuscripts
Early Christian ManuscriptsEarly Christian Manuscripts
Early Christian Manuscripts
 
Byzantine Art PowerPoint
Byzantine Art PowerPointByzantine Art PowerPoint
Byzantine Art PowerPoint
 
Islamic Art
Islamic ArtIslamic Art
Islamic Art
 
Picasso
PicassoPicasso
Picasso
 

En vedette

Intro and Demo of the Monome
Intro and Demo of the MonomeIntro and Demo of the Monome
Intro and Demo of the Monome
chittick
 
Le Thanh Tung_Artist Portfolio_2016
Le Thanh Tung_Artist Portfolio_2016Le Thanh Tung_Artist Portfolio_2016
Le Thanh Tung_Artist Portfolio_2016
C Razy Onkey
 
Digital DJing UCLA Extension Lecture 1 Jan 9 2010
Digital DJing UCLA Extension Lecture 1 Jan 9 2010Digital DJing UCLA Extension Lecture 1 Jan 9 2010
Digital DJing UCLA Extension Lecture 1 Jan 9 2010
Gautam Banerjee
 
2016 Art Director Portfolio.compressed
2016 Art Director Portfolio.compressed2016 Art Director Portfolio.compressed
2016 Art Director Portfolio.compressed
C Razy Onkey
 

En vedette (20)

jQuery Mobile Deep Dive
jQuery Mobile Deep DivejQuery Mobile Deep Dive
jQuery Mobile Deep Dive
 
PyconJP: Building a data preparation pipeline with Pandas and AWS Lambda
PyconJP: Building a data preparation pipeline with Pandas and AWS LambdaPyconJP: Building a data preparation pipeline with Pandas and AWS Lambda
PyconJP: Building a data preparation pipeline with Pandas and AWS Lambda
 
StoryCode DIY Days Presentation - Creative Coding
StoryCode DIY Days Presentation - Creative CodingStoryCode DIY Days Presentation - Creative Coding
StoryCode DIY Days Presentation - Creative Coding
 
Tensorflow in production with AWS Lambda
Tensorflow in production with AWS LambdaTensorflow in production with AWS Lambda
Tensorflow in production with AWS Lambda
 
Prototipo3 - limulo at electropark 2013
Prototipo3 - limulo at electropark 2013Prototipo3 - limulo at electropark 2013
Prototipo3 - limulo at electropark 2013
 
Hello vvvv
Hello vvvvHello vvvv
Hello vvvv
 
Creative Coding Workshop - Introduction
Creative Coding Workshop - IntroductionCreative Coding Workshop - Introduction
Creative Coding Workshop - Introduction
 
Intro and Demo of the Monome
Intro and Demo of the MonomeIntro and Demo of the Monome
Intro and Demo of the Monome
 
Le Thanh Tung_Artist Portfolio_2016
Le Thanh Tung_Artist Portfolio_2016Le Thanh Tung_Artist Portfolio_2016
Le Thanh Tung_Artist Portfolio_2016
 
About VJ Presentation @ Yuris Night
About VJ Presentation @ Yuris NightAbout VJ Presentation @ Yuris Night
About VJ Presentation @ Yuris Night
 
Interaction modalities, technologies and tools for interactive art
Interaction modalities, technologies and tools for interactive artInteraction modalities, technologies and tools for interactive art
Interaction modalities, technologies and tools for interactive art
 
VJing - From software to public space
VJing - From software to public spaceVJing - From software to public space
VJing - From software to public space
 
Creative Coding with Processing
Creative Coding with Processing Creative Coding with Processing
Creative Coding with Processing
 
media/art/library
media/art/librarymedia/art/library
media/art/library
 
Digital DJing UCLA Extension Lecture 1 Jan 9 2010
Digital DJing UCLA Extension Lecture 1 Jan 9 2010Digital DJing UCLA Extension Lecture 1 Jan 9 2010
Digital DJing UCLA Extension Lecture 1 Jan 9 2010
 
2016 Art Director Portfolio.compressed
2016 Art Director Portfolio.compressed2016 Art Director Portfolio.compressed
2016 Art Director Portfolio.compressed
 
Intro to Creative Coding
Intro to Creative Coding  Intro to Creative Coding
Intro to Creative Coding
 
Introduction to Processing and creative coding
Introduction to Processing and creative codingIntroduction to Processing and creative coding
Introduction to Processing and creative coding
 
Creative Coding 1 - 1 Introduction
Creative Coding 1 - 1 IntroductionCreative Coding 1 - 1 Introduction
Creative Coding 1 - 1 Introduction
 
Explorations in Creative Coding
Explorations in Creative CodingExplorations in Creative Coding
Explorations in Creative Coding
 

Dernier

%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
masabamasaba
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 

Dernier (20)

%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 

Creative coding with d3.js

  • 2. CREATIVE CODING WITH D3.JS WHAT WILL YOU LEARN? ▸ What is generative art and creative code? ▸ d3 is not just for dataviz! ▸ The story of a side project ▸ The analog digital art of a Czech artist ▸ Creating and selling a digital product in a week ▸ Live demo of creative environment with d3
  • 3. CREATIVE CODING WITH D3.JS FABIAN DUBOIS ▸ Former Orange Labs Tokyo and Locarise ▸ Data Visualisation and Web App consultant ▸ Based in Tokyo, sometime Paris, Berlin, Valencia ▸ Author of ‘Drawing LIKE VLADISLAV MIRVALD WITH D3.js’ ▸ twitter: @fabian_dubois ▸ blog: www.datamaplab.com
  • 4. GENERATIVE ART AND CREATIVE CODING GENERATIVE ART ▸ Art created by an ‘autonomous’ process. ▸ the artists defines the process, the process generates the output. ▸ Often algorithmic ▸ Can be data driven ▸ See also: Generative design (parametric architecture…) ▸ Some Fugue of Bach considered as generative @AndruSenn
  • 5. GENERATIVE ART AND CREATIVE CODING CREATIVE CODING ▸ Use of code to generate art ▸ Roots in Demoscene ▸ Use in VJing, art installations… ▸ Popular tool: Processing (and now p5.js) ▸ Also GIF Loop coder ▸ See also: glitch art @IamCraigPickard
  • 6. D3 IS NOT JUST FOR DATAVIZ
  • 7. D3 IS NOT JUST FOR DATAVIZ ONE ANIMATED PIECE A DAY ▸ Created by John Firebaugh (2015) ▸ All made with d3.js ▸ Most of them around 40 lines of code ▸ http://jfire.io/animations/
  • 8. D3 IS NOT JUST FOR DATAVIZ T.D3FC.IO ▸ Tweet-sized d3 animations ▸ write https://t.d3fc.io and it will be rendered in GIF on the website ▸ use special helpers to reduce code size. ▸ must fits under 116 characters!
  • 9. D3 IS NOT JUST FOR DATAVIZ STAINED GLASS ▸ d3 project by David Nowinsky ▸ Image filtering using d3.geom.voronoi() ▸ http://david.nowinsky.net/stained- glass/
  • 10. D3 IS NOT JUST FOR DATAVIZ PARTY MODE ▸ Play music from soundcloud and get a sound visualisation ▸ Visuals made with d3 ▸ Web audio API ▸ http://preziotte.com/partymode/
  • 11. D3 IS NOT JUST FOR DATAVIZ MAKING MUSIC WITH D3 ▸ Adam Pearce ▸ Visual sequencer ▸ http://roadtolarissa.com/synth/
  • 12. STORY OF A SIDE PROJECT
  • 14. THE STORY OF A SIDE PROJECT VLADISLAV MIRVALD ▸ 20th century Czech artist (1921-2003) ▸ Constructivism movement ▸ Strong interest in geometric construction
  • 15. THE STORY OF A SIDE PROJECT SOME PIECES FRO MIRVALD Circular Structure (1969) Continuous Cylinder (1979-1992) Undulating Cylinder (1995)
  • 16. THE STORY OF A SIDE PROJECT GUMROAD’S SMALL PRODUCT LAB CHALLENGE ▸ Gum road is a platform for selling goods, in particular digital goods ▸ 1 week challenge: ▸ Create something ▸ Sell it!
  • 17. THE STORY OF A SIDE PROJECT THE E-BOOK
  • 18. THE STORY OF A SIDE PROJECT
  • 19. THE STORY OF A SIDE PROJECT
  • 21. USE DATA TO GENERATE SHAPES PARAMETRICALLY. IT CAN BE AS SIMPLE AS A D3.RANGE()
  • 22. CHANGE THE DATA TO UPDATE THE DRAWING AND ANIMATE. CAN BE TRIGGERED WITH D3.TIMER() OR USER INTERACTION.
  • 23. DEMO LIVE DEMO ▸ With KORG nano KONTROL ▸ using https://github.com/shokai/korg- nano-kontrol based on WebMIDI API ▸ to map inputs: d3.scale().domain([0, 127])
  • 24. TEXT LINKS ▸ Creative coding sketches codedoodl.es (https://medium.com/@neilcarpenter/ introducing-codedoodl-es-598039758df8#.ifeve6ql7) ▸ GIF Loop coder (http://www.gifloopcoder.com/) ▸ p5.js (https://p5js.org/) ▸ 50 free copies of Draw like Vladislav Mirvald with d3.js ebook (https://gum.co/mirvald/ d3paris) with code `d3paris`.
 Also some code here: https://github.com/fabid/mirvald-d3 ▸ John Firebaugh’s d3 animations (http://jfire.io/animations/) ▸ About tweet-sized d3 (http://blog.scottlogic.com/2016/03/08/deconstructing-a-tweet- sized-d3-creation.html) ▸ Creative coding Podcast (http://creativecodingpodcast.com/ )
  • 25. THANK YOU. @fabian_dubois https://www.datamaplab.com Get a copy of: 
 Draw Like Vladislav with d3.js
 https://gum.co/mirvald/slideshare