00:00 / 10:57
1080P
  • Quality
  • 1080P 1080P
  • 720P 720P
  • SD 480P
Add to Channel Download Report

Playing issue

0 0

Embed:

Copy

Processing快乐编程031 带参函数及返回值 Original

Creative Coding Education
AlanHou 2021-07-13 326

Creators

Creative Coding

This episode is a bit more serious and less visual, but it will be important to know how to create your own functions.
We create a simple function that does not take any parameters, and another that takes two numeric parameters and adds them together. We also create a function that returns a value.
Knowing this we will be able to simplify the program we created in the previous episode with four rotating rectangles.

Courtesy of Abe Pazos Solatie(Fun Programming)

Abe Pazos Solatie, artist and creative coder producing static, moving and interactive images with a focus on the subtle and the organic.

Software(s): Processing

Comments

No comments yet