GSoC’18 Phase-3

For this phase, I started with implementing Stamps feature in the Drawing activity. This feature allows users to use different stamps images in their beautiful arts. For now, I have added images from solar activity to use as stamps.

hyn4jb5

 

Users can also import an image to use as a stamp. Size and opacity of the stamp can also be adjusted from tool options menu.

I also added added sounds and audio effects, which includes feedback on selecting a tool and using stamps and for other notifications.

Implementation of basic keyboard navigations like undo, redo, save, load, etc. is also completed.

Added a help section, which describes the basic key board shortcuts and other useful information.

All basic tools are implemented as planned, at present I am testing drawing activity on various platforms and fixing various bugs reported by mentors. List of bugs and improvements can be found on — https://phabricator.kde.org/T9138.

Work branch — https://cgit.kde.org/gcompris.git/log/?h=gsoc_asagtani_paint.

Happy coding 🙂

 

 

 

Advertisements

GSoC’18 – Phase 2(Week 1 and 2)

Passing the first phase with good feedbacks from mentors and receiving my first earnings is the greatest achievement for me until now.

This phase, I started with fixing minor bugs with the UI and improving the responsiveness of the activity. Now the activity is compatible with all standard dimensions devices. Added export to png tool through which users can save their beautiful arts in the png format.

hripzrq

I also improved the text tool, which now supports the default activity font-family with bold, italic, adjustable font sizes and a variety of colors.

hriwyxq

Other than these improvements, I also fixed the paint bucket tool, which now works on the flood-fill algorithm(stack-based implementation).

flood-fill-example-smallpaint-bucket-step-by-step

 

 

Stay tuned for more updates……

Work branch -> https://cgit.kde.org/gcompris.git/log/?h=gsoc_asagtani_paint

Proposal -> https://www.dropbox.com/s/79jq0ltkg4rv8ir/GSoC_KDE_amit.pdf?dl=0

Happy coding 🙂

 

GSoC’18 Week 2 && 3

Hi,

These two weeks were mostly devoted to improving the UI of the activity and fixing some minor bugs. I have completed the implementation of foldable panels based UI. This is how it looks —

hovscvf

 

hovrmfw

Thanks to Timothée Giet, for providing me the icons of different tools. We’ll be updating the remaining icons soon.

We noticed some bugs with the default color picker, and decided to create our own Color picker, consisting of three bars –> Hue, Saturation and lightness to select the required color. This was a little difficult task for me at the beginning but finally managed to create this with the help of my mentors and resources on the internet.

hovgczp

Currently, I am working on code cleaning, refactoring and fixing minor bugs with the UI.

My commits can be tracked on –> https://cgit.kde.org/gcompris.git/log/?h=gsoc_asagtani_paint

Feedbacks and suggestions are always welcome 🙂

Stay tuned for more updates……

 

 

GSoC’18 Week 1

Hi everyone,

The first week of the coding period was great and I got to learn a lot of new things. My mentors help me on every stage and the work is going on as planned 🙂

The aim of my project is to create kids interest in drawing, designing, animations, and graphics through educational activities in GCompris. I started with the “Drawing” activity. This activity will provide the tools and workspace to the kids for drawing beautiful arts and know about the basic drawing tools. This activity was started in the previous GSoC, but it still requires a lot of work and new tools implementations. The main aim is to provide as much as possible canvas region to draw on. I and my mentors decided to make a foldable-panels based UI. Here is the first look at the activity, it still needs a lot of work on UI, which I have planned to do in upcoming weeks.

paint

For displaying different brushes, stamps, and settings for a tool available, we will be displaying a pop-up for these settings. First look at the tools mode ->

paint

Improvement in the overall UI is still in progress. Other than this, I have been working on refactoring the current code for this activity and breaking the whole code into various elements. For the next week, my main task is to complete the overall UI of this activity and add more geometries for drawing.

I’d appreciate your feedback on the work done so far and suggestions on the improvement of this activity.

Work branch -> https://cgit.kde.org/gcompris.git/log/?h=gsoc_asagtani_paint

Link to proposal -> https://www.dropbox.com/s/79jq0ltkg4rv8ir/GSoC_KDE_amit.pdf?dl=0

Happy coding 🙂

SoK Project – Week 1 & 2

With all the happiness after being selected for SoK 2018, I was looking forward to start working on my project with whole dedication. My project aims to complete port of a brain-boosting memory activity called “Railroad” (in which kids have to observe the given train and memorize it within given time and then try to rebuild it) from Gtk+ to Qt version. It is a part of project GCompris(a high-quality educational software suite, including a large number of activities for children aged 2 to 10). My mentors are Timothée Giet and Rudra Nil Basu, along with them I’d like to thank a lot to Johnny Jazeix and Divyam Madaan for helping me with my project. My SoK proposal can be found here –> SoK Proposal. And my progress can be tracked at –> Railroad branch.

I started with introducing myself to the GCompris community and discussing my implementation plans with the mentors. My mentors helped me to get my KDE developer account and setup git. First error which I encountered was during git clone, after googling about it and discussing with mentors I got to know that it was due to the firewall(thanks to my college).

My main task for first two weeks was to create a new layout for the activity, make the activity look better in small screen devices and remove horizontal scrolling. This activity was already started during previous SoK, so most of the code was already written. I compiled the activity and started understanding its code, my previous contributions on GCompris helped me to understand the code fastly. Previously it was hard-coded to have a fixed no. of wagons in fixed no. of rows which caused horizontal scrolling. I implemented a GridView based layout which helped to remove the need for horizontal scrolling and made UI look more beautiful.


1. For Horizontal Screens

2. For Vertical Screens

After working on UI, I created five levels based on increasing difficulty and fixed some issues in UI based on reviews from my mentors. Every error opened an opportunity for me to learn something new. I’ll be working on implementing keyboard navigations next week.

Some of the new things which I learned during this project so far
> Importance of Version Control System.
> Quality of code is more important than Quantity of code.
> Dividing a big task into small tasks and then proceeding.
> Using SSH keys.
> An image when opened with a text editor shows real mystery behind it.

In conclusion, SoK proves to be a great experience thus far, being a pleasure to work on a project focused mainly on Education. For further updates, stay tuned!

Season Of KDE

kde

Hi and welcome to my blog! My name is Amit and with this blog I aim to keep you updated with my work at GCompris within Season of KDE 2018. After contributing for several months at GCompris, I applied for SoK 2018 and finally my proposal got selected among top 10 participants. I am very happy with the results I have got.

I will post here news, accomplishments and updates regarding my work. You can expect at least one post every two weeks and if anything comes up, I will post more often.