© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
D. MatthewGenerative Art with JavaScript and SVGDesign Thinkinghttps://doi.org/10.1007/979-8-8688-0086-3_2

2. A Programming Primer

David Matthew1  
(1)
Limerick, Ireland
 

Although programming can be used to create art, it can also be an art in itself. It is part art and part science. When beginning programming, you need to familiarize yourself more with the scientific side of it, the fundamental concepts and rules that comprise programming as a discipline. The art can come later.

Learning the basics in programming means getting to grips with concepts like values, variables, operators, expressions, conditionals, loops, functions, and more. If you have no idea ...

Get Generative Art with JavaScript and SVG: Utilizing Scalable Vector Graphics and Algorithms for Creative Coding and Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.