Creative Coding: Making Visuals with JavaScript
Lines
A course by Bruno Imbrizi , Creative Coder
About the video: Lines
Overview
“Here you will learn to draw lines between the agents, about optimization, and to use Pythagoras' theorem to find the distance between agents.”
In this video lesson Bruno Imbrizi addresses the topic: Lines, which is part of the Domestika online course: Creative Coding: Making Visuals with JavaScript. Learn the fundamentals of programming and discover how to develop, draw, and animate visuals and text with code.
Partial transcription of the video
“In this lesson, we're going to connect our agents with lines. And in order to do that, we need a bit more math. We're going to revisit the familiar formula to find the distance between them. The Pythagoras theorem. We're going to need a nested for loop. You might remember we wrote one in our first sketch. It means one for loop inside another. for i equals 0. i smaller than agents.Length. And then inside this first loop, we want to store agent as a variable. So agent equals to agents square brackets i. Then the second loop using J is an index. and we want to store the agent here as a variabl...”
This transcript is automatically generated, so it may contain mistakes.
Course summary for: Creative Coding: Making Visuals with JavaScript
-
Category
3D & Animation, Web & App Design -
Areas
JavaScript, Motion Graphics, Multimedia, Programming

Bruno Imbrizi
A course by Bruno Imbrizi
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.
- 97% positive reviews (1.2K)
- 58,319 students
- 21 lessons (2h 42m)
- 39 additional resources (5 files)
- Online and at your own pace
- Available on the app
- Audio: English, Spanish (Latam), French, Italian, Portuguese, Turkish
- Spanish · English · Portuguese · German · French · Italian · Polish · Dutch · Turkish · Romanian · Indonesian
- Level: Beginner
- Unlimited access forever
Category
Areas
