Best seller

Creative Coding 2.0 in JS: Animation, Sound, & Color

Adding Colors

A course by Bruno Imbrizi , Creative Coder

Creative Coder. London, United Kingdom.
Joined March 2021
Best seller
99% positive reviews (175)
19,616 students
Audio: English
English · Spanish · Portuguese · German · French · Italian · Polish · Dutch

About the video: Adding Colors

Overview

“We are already randomizing positions and sizes, and we can also have random colors! In this lesson, I will show you how to add colors and work with predefined color palettes.”

In this video lesson Bruno Imbrizi addresses the topic: Adding Colors, which is part of the Domestika online course: Creative Coding 2.0 in JS: Animation, Sound, & Color. Explore advanced coding techniques to produce unique visuals that combine color, movement, and sound in JavaScript.

Partial transcription of the video

“ Adding Colors We're already randomising positions and sizes. We can also have random colours. We'll see how to do that in a structured way. We'll start by adding colour properties to the rect object. I'm declaring two new variables called fill and stroke. Now, we can set fill to blue and stroke to black. Then, we'll destructure these properties. Set context.strokeStyle = stroke; and duplicate the line, changing it to context.fillStyle = fill;. After the call to context.stroke();, we'll call context.fill();. Now, we have a bunch of blue skewed rectangles. We're randomising the positions an...”

This transcript is automatically generated, so it may contain mistakes.


Course summary for: Creative Coding 2.0 in JS: Animation, Sound, & Color

  • Level: Beginner
  • 99% positive reviews (175)
  • 19616 students
  • 6 units
  • 28 lessons (2h 47m)
  • Category

    3D & Animation, Web & App Design
  • Areas

    JavaScript, Motion Graphics, Multimedia, Programming

Bruno Imbrizi

Bruno Imbrizi
A course by Bruno Imbrizi

Teacher Plus
Creative Coder

Bruno Imbrizi is a Brazilian-born creative coder based in London, England. He studied graphic design and began his career putting the skills and knowledge he’d learned into practice. Eventually, he combined his talent for design with another of his passions - coding.

With over 10 years of experience, he’s worked at agencies, design studios, production companies, and well-known brands including Dell, Adidas, and Universal Music. He’s been featured in online publications such as WIRED, and Londonist and won multiple awards including the Adobe Cutting Edge Award and FITC Best Digital Installation.


  • 99% positive reviews (175)
  • 19,616 students
  • 28 lessons (2h 47m)
  • 20 additional resources (0 files)
  • Online and at your own pace
  • Available on the app
  • Audio: English
  • English · Spanish · Portuguese · German · French · Italian · Polish · Dutch
  • Level: Beginner
  • Unlimited access forever

Areas
Creative Coding 2.0 in JS: Animation, Sound, & Color. Web, App Design, 3D, and Animation course by Bruno Imbrizi Best seller

Creative Coding 2.0 in JS: Animation, Sound, & Color

A course by Bruno Imbrizi
Creative Coder. London, United Kingdom.
Joined March 2021
  • 99% positive reviews (175)
  • 19,616 students