Wrap things into curvy circles with
beginShape();
for(let i = 0 ; i < num ; i++) {
let x = R[i] * sin(i * 2 * PI / num);
let y = R[i] * cos(i * 2 * PI / num);
curveVertex(x,y)
}
endShape();
Wrap things into curvy circles with
beginShape();
for(let i = 0 ; i < num ; i++) {
let x = R[i] * sin(i * 2 * PI / num);
let y = R[i] * cos(i * 2 * PI / num);
curveVertex(x,y)
}
endShape();
Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.
All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.