An interactive Doja Cat music video can introduce you to programming

Women Who Code, the nonprofit group that goals to get extra girls and ladies within the subject of pc science, has debuted what it calls the “first ever” codable music video. The group partnered with Doja Cat, reworking her new music video for Lady into an interactive expertise.

You can check out the expertise for your self at, the place you’ll be greeted by a futuristic picture of Doja Cat that turns into pixelated as you drag your mouse over the display. On the subsequent web page, you’ll see three stars, every of which represents a distinct programming language — yellow for CSS; blue for Javascript; and pink for Python.

As soon as you click on the music video, the expertise begins. It performs identical to Doja Cat’s authentic music video, solely you’ll get to make selections all through, form of like a select your personal journey sport, however with code. The timeline on the underside of the display accommodates 4 color-coded stars, displaying when the video will pause and which programming language can be showcased.

Typing in a colour adjustments the look of Doja Cat’s nails.

Screenshot: Emma Roth / The Verge

When the video stops, you’ll find a way to fill within the blanks in addition to traces of code. For instance, the primary break lets you change the colour of Doja Cat’s nails utilizing CSS; the colour you sort in alters the colour of Doja Cat’s nails in real-time. In one other situation, getting into the identify of a metropolis adjustments the time of day within the video, and it even stays true to that location’s present time — after I typed in “Tokyo” at round 10:00AM ET, the sky within the video turned darkish and constellations grew to become seen, all consistent with Tokyo’s 12:00AM native time.

On the finish of the expertise, you’ll get snapshots of how every space taken care of you completed “coding” it, which the positioning then lets you obtain or share to social media. Whereas the DojaCode video doesn’t contain any intense quantities of programming, I nonetheless discovered it enjoyable to experiment with typing in numerous choices and seeing my adjustments immediately take impact.

Show More

Related Articles

Leave a Reply

Your email address will not be published.

Back to top button