Coding Period - II

Riya Lohia
GSoC’18 with Sugar Labs
1 min readJun 2, 2018

Hello everyone,

So here comes the third blog post of my GSoC journey.

For the past two weeks my updates are as follows:

  • Finished working on functionality of set temperament block. This block will tune the notes attached to it according to the selected temperament. (Link to the code).

Method to code Circle of Notes : Circle of Notes for temperament widget is created using the power of wheelNav.js. A method named slicePath() created the desired points on circle. Initially, I was unable to control the radius of individual circles (points) on circle of notes. But then as per mentor’s suggestion, I looked up in the wheelNav library to see the base class methods. A variable named menuRadius sets the radius for individual circles. In this way by scaling canvas circle and wheelNav, I was able to initiate the circle of notes.

Targets for Upcoming Week

  • Finish with the details of Circle of Notes.
  • Initiate the tabular representation of Notes.

Looking forward to a productive week and great summers ahead. 😃

--

--