How to Draw a Mandala in Java + Processing

Publié le: 28 mai 2018
sur la chaîne: Barney Codes
2,302
61

Make awesome mandala drawings using this tool. In this coding challenge I create a mandala drawing tool. It allows you to make really cool patterns even if you don't have much artistic talent (like me!)

This effect relies on swapping from cartesian coordinates to polar ones and vice versa. This allows the mouse position to be translated to different angles around the centre and ultimately is what makes this possible.

0:00 - Intro
0:25 - Drawing with the mouse
2:48 - Polar and cartesian coordinates
9:38 - Guide lines
12:42 - Adding colour
14:51 - Final product

Hope you enjoy the episode! If you have any questions be sure to ask in the comments down below :)

Make sure to check out the links below, they've got everything you need to get started!

Check out the files from this challenge (and all the other ones) on github: https://github.com/BarneyWhiteman/Cod...

Download Processing so that you can get started right away:
https://processing.org/

Check out the rest of the Coding Challenges here:
   • Repelling Particles in Java + Processing  

Follow me:
Support the channel: https://www.youtube.com/@BarneyCodes/...
Twitter:   / barneycodes  
Reddit:   / barneycodes  

#creativecoding #processing #java


Sur cette page du site, vous pouvez voir la vidéo en ligne How to Draw a Mandala in Java + Processing durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Barney Codes 28 mai 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,302 fois et il a aimé 61 téléspectateurs. Bon visionnage!