Skip to content

Commit

Permalink
Merge pull request #4 from Manyukumar1/patch-2
Browse files Browse the repository at this point in the history
Updated some info to understand
  • Loading branch information
shubhamkrshandilya authored Oct 22, 2021
2 parents fbac96f + 5829128 commit ca049be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sketch.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
function setup() {
createCanvas(480,480);
}


function draw(){
background(0);
/* variable to store second hand value */
var sec = radians(6*second());
var min = radians(6*minute());
var hrs = radians(30*(hour()%12));
Expand Down

0 comments on commit ca049be

Please sign in to comment.