|
| 1 | +--- |
| 2 | +title: "GSoC ’25 Week 01 Update by Shubham Singh" |
| 3 | +excerpt: "Creating UIs and visuals for addition of Lego Bricks " |
| 4 | +category: "DEVELOPER NEWS" |
| 5 | +date: "2025-06-07" |
| 6 | +slug: "gsoc-25-FirePheonix-week01" |
| 7 | +author: "Shubham Singh" |
| 8 | +description: "Maintainer and GSoC'25 Contributor at SugarLabs" |
| 9 | +tags: "gsoc25,sugarlabs,week01,FirePheonix" |
| 10 | +image: "assets/Images/GSOC.png" |
| 11 | +--- |
| 12 | + |
| 13 | +<!-- markdownlint-disable --> |
| 14 | + |
| 15 | +# Week 01 Progress Report by Shubham Singh |
| 16 | + |
| 17 | +**Project:** [Color Sensor for Music Blocks](https://github.com/sugarlabs/musicblocks/issues/4537) |
| 18 | +**Mentors:** [Devin Ulibarri](https://github.com/pikurasa), [Walter Bender](https://github.com/walterbender) |
| 19 | +**Reporting Period:** 2025-06-01 - 2025-06-07 |
| 20 | + |
| 21 | +--- |
| 22 | + |
| 23 | +## Goals for This Week |
| 24 | + |
| 25 | +- **Goal 1:** Basic UI for Image Upload/Real time Video upload and adjust. |
| 26 | +- **Goal 2:** Putting the developed UIs onto the widget blocks. |
| 27 | +- **Goal 3:** Searching for exisiting audios in the phrase maker and note blocks. |
| 28 | + |
| 29 | +--- |
| 30 | + |
| 31 | +## This Week’s Achievements |
| 32 | + |
| 33 | +1. **Interface for Image upload for Lego Notations** |
| 34 | + - Music Blocks has a feature to detect the color of pixels generated from drawing within the program, but it cannot detect the color of pixels from images that are either uploaded or from a webcam. |
| 35 | + - By adding a feature to detect color from both uploaded images and a live webcam stream, users would be able to implement Lego music notation for the blind and similarly interactive programs. |
| 36 | + |
| 37 | +  |
| 38 | + |
| 39 | + |
| 40 | +2. **Live webcam feed and editing options** |
| 41 | + - The following feature helps to use a real time video(webcam) onto the Lego Notation detection interface. Also, you may freely edit and move it around the canvas. |
| 42 | +  |
| 43 | + |
| 44 | + - Here's the reference video regarding lego bricks as musical notes: |
| 45 | + [youtube: LOfrCPf3XJU] |
| 46 | + |
| 47 | + - Here's Devin's CMK project for color sensor project in music blocks: |
| 48 | + [Reflections from constructing modern knowledge](https://medium.com/@sugarlabs/reflections-from-constructing-modern-knowledge-2024-1ce7d60fbb1c) |
| 49 | + |
| 50 | +3. **Identified methods to making a new widget block in music blocks** |
| 51 | + - I read and went through a lot of documentation, searching for how we can add a new widget block in music blocks. I figured out a few flaws and how can the documentation be improved for future contributors. |
| 52 | +  |
| 53 | + - From what I've realized working on it, for adding a new block on the music blocks, I definitely think that for adding a new block, a lot of the code - UIs, features, etc. would already exist and you can just inherit those exisiting classes. And also, you'll have to edit and change a LOT of files and add new methods for your own new block. |
| 54 | +  |
| 55 | + |
| 56 | +--- |
| 57 | + |
| 58 | +## Challenges & How I Overcame Them |
| 59 | + |
| 60 | +- **Challenge:** Getting started on features and UIs with a lot of doubts about how it should look like. |
| 61 | +- **Solution:** Consulting my mentors, presenting variations of "How it could be" to them, refering to EXISTING UIs in Music Blocks. |
| 62 | + |
| 63 | +--- |
| 64 | + |
| 65 | +## Key Learnings |
| 66 | + |
| 67 | +- Gained familiarity with **making new blocks**. |
| 68 | +- Deepened understanding of **inheritance and code modularity** |
| 69 | +- Improved skills in **exports, imports, code reusability**, **documentation**, and **collaboration workflows**. |
| 70 | + |
| 71 | +--- |
| 72 | + |
| 73 | +## Next Week’s Roadmap |
| 74 | + |
| 75 | +- Implement **mapping of musical notes to lego bricks' colors**. |
| 76 | +- Refine **UIs** based on mentor feedback. |
| 77 | +- Inherit the exisiting code inside **WidgetBlocks.js** code as UI. |
| 78 | +- Target: Completing the **core implementation** in the week number 2 and 3. |
| 79 | + |
| 80 | +--- |
| 81 | + |
| 82 | +## Acknowledgments |
| 83 | + |
| 84 | +Thanks to some old pull requests and documentation available in music blocks, I was able to figure out on a lot about how new blocks are created on the music blocks interface. Will definitely add on more. |
| 85 | + |
| 86 | +--- |
| 87 | + |
| 88 | +## Connect with Me |
| 89 | + |
| 90 | +- GitHub: [@FirePheonix](https://github.com/FirePheonix) |
| 91 | + |
| 92 | +- LinkedIn: [Shubham Singh](https://www.linkedin.com/in/shubham-singh-8a5643198/) |
| 93 | +- Twitter: [@DevNinjaShubham](https://x.com/DevNinjaShubham) |
| 94 | + |
| 95 | +--- |
0 commit comments