How to Draw a Mandala in Java + Processing

Veröffentlicht am: 28 Mai 2018
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video How to Draw a Mandala in Java + Processing mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Barney Codes 28 Mai 2018 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,302 Mal angesehen und es wurde von 61 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!