Skip to main content
Apress

Generative Art with JavaScript and SVG

Utilizing Scalable Vector Graphics and Algorithms for Creative Coding and Design

  • Book
  • © 2024

Overview

  • Learn about generative art and its creative process
  • Understand how to use SVG and JavaScript libraries for creative coding and design
  • Create interactive sketches, graphics animations using only the power of code

Part of the book series: Design Thinking (DESTH)

  • 1462 Accesses

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook USD 16.99 USD 39.99
Discount applied Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 16.99 USD 49.99
Discount applied Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

About this book

This book introduces you to the exciting world of generative art and creative coding through the medium of JavaScript and Scalable Vector Graphics (SVG). Using tried and trusted techniques, you’ll tackle core topics such as randomness and regularity, noise and naturalistic variance, shape and path creation, filter effects, animation, and interactivity.

In the process you’ll learn SvJs, a JavaScript library that closely mirrors the SVG spec and makes scripting SVG intuitive and enjoyable. You’ll also study the craft of generative art and its creative process, along with JavaScript fundamentals, using modern ES6+ syntax. Each chapter will build upon the previous one, and those completely new to programming will be given a primer to help them find their feet.

Generative Art with JavaScript and SVG will take you on a fun journey, peppered with plenty of sketches throughout, designed not only to explain, but to inspire.

 

You Will:

• Structure and randomise compositions.

• Understand the different types of randomness and their probability distributions.

• Create organic variance with the SvJs Noise module. • Apply SVG filter effects in a generative fashion.

• Explore different approaches to animating with SVG.

• Make your compositions dynamic and interactive.

 

WHO IS IT FOR: 

 

Web developers and designers and  creative coders with an interest in digital and generative art  as well as artists who are interested in learning to code with JavaScript.  

 

 

 

Keywords

Table of contents (9 chapters)

Authors and Affiliations

  • Limerick, Ireland

    David Matthew

About the author

​David Matthew is a web developer, designer and musician with over 11 years of industry experience who is passionate about generative art and web development, music visualization and  in particular, SVG and the often untapped potential it offers. 

 

David blogs on topics including JavaScript, CSS WordPress and creative coding  and as a regular producer of generative art, he showcases his work on his Instagram page: instagram.com/davidmatthew_ie 

Bibliographic Information

Publish with us