Let's prepare ourselves to work with waves. But before we dive into the fun part, we have to take a look on radians.

The word itself reveals it's meaning: Radians is the count of radii.

Try to imagine the circumference of a circle as a straight line: The radius of the same circle would fit 6 times into the circumference. To say it in Processing:

`radians(360) = 6.2831855.`

The half of the circumference 360 is 180 and the radians of 180 is `3.1415927`. Sounds familiar? `3.1415927` is PI (π). ``````sin(radians_value);
``````
``````cos(radians_value);
``````
``````tan(radians_value);
``````

PI (π)

general description, what is it and what is it for

PI is a constant number that describes the ratio between the diameter and the circimference of a circle. PI is exactly 3.14159265359.

\$\$PI * diameter = circumference/2\$\$

In Processing, PI is defined as a constant and can be used by calling `PI`. Furthermore P5 holds some more constants related to PI: `HALF_PI`, `QUARTER_PI`, `TWO_PI`, `PI`

particular function / technique description with code and comments
{"ft_lang_label":"__label__en","ft_lang_prob":0.88562435,"math_prob":0.97588116,"size":1139,"snap":"2019-26-2019-30","text_gpt3_token_len":283,"char_repetition_ratio":0.13215859,"word_repetition_ratio":0.0,"special_character_ratio":0.26602283,"punctuation_ratio":0.13636364,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99165386,"pos_list":[0,1,2,3,4,5,6],"im_url_duplicate_count":[null,1,null,1,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-06-17T07:08:12Z\",\"WARC-Record-ID\":\"<urn:uuid:18df9c47-34d3-4db6-90a6-37c7d0339085>\",\"Content-Length\":\"27619\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:50d8c1a1-c9cb-4bdd-9add-116801422f85>\",\"WARC-Concurrent-To\":\"<urn:uuid:980e75af-c0a0-4573-b2ae-ffe69873f6c2>\",\"WARC-IP-Address\":\"107.170.223.154\",\"WARC-Target-URI\":\"https://timrodenbroeker.gitbooks.io/p5diary/radians.html\",\"WARC-Payload-Digest\":\"sha1:PUM5S2JIG43M76XU62GOGBW5N2KG4W2X\",\"WARC-Block-Digest\":\"sha1:WSNYNR6MQGHJY6VHMMTM6AW44PCEBUC5\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-26/CC-MAIN-2019-26_segments_1560627998440.47_warc_CC-MAIN-20190617063049-20190617085049-00111.warc.gz\"}"}