Summer of Code/2015/Ishan:Turtle Blocks 3D JavaScript

About Me
---

What is your name?

Ishan Sharma and I am a 2nd year undergraduate student at BITS Pilani, Pilani Campus

What is your email address?

ishan28mkip@gmail.com

What is your Sugar Labs wiki username?

Ishan28mkip

What is your IRC nickname on irc.freenode.net?

ishan28mkip

'''What is your first language? (We have mentors who speak multiple languages and can match you with one of them if you'd prefer.)'''

My First language is Hindi, but I am fluent in English as well.

'''Where are you located, and what hours (UTC) do you tend to work? (We also try to match mentors by general time zone if possible.)'''

Location: Pilani, Rajasthan, India

Time Zone: UTC + 5:30 (Indian Standard Time)

Working Hours: 11:00 to 20:00 UTC. (Working hours are flexible)

'''Have you participated in an open-source project before? If so, please send us URLs to your profile pages for those projects, or some other demonstration of the work that you have done in open-source. If not, why do you want to work on an open-source project this summer?'''

I am only a recent entrant to the world of Open source. My initial interaction with the open source has been through sugar. I have spent the past few weeks going through codes of various sugar activities, trying to contribute in the community. The world of open source has always fascinated me. It has given so much to the society, operating systems, browsers, and now even learning tools for children. I feel that open source is the biggest collective philanthropic effort of man kind and I would love to be a part of this effort. Hence I would like to devote my summer in this world of open source and contribute in the community with my technical know how.

About your project
-- What is the name of your project?

Turtle Blocks 3D JavaScript

'''Describe your project in 10-20 sentences. What are you making? Who are you making it for, and why do they need it? What technologies (programming languages, etc.) will you be using?'''

Turtle Blocks 3D is an extension of the turtle blocks activity written in JavaScript to 3D and is a port to JavaScript of turtle blocks 3D version written in python with added features. Initially the turtle blocks was a activity that simulated a logo like environment wherein children could do 2D graphical scripting to draw shapes and patterns. A need for a JavaScript version was felt as well as a 3D version for the activity. Both theses have been implemented but the JavaScript version is limited to 2D art, and the python 3D version is limited because of the incompatibility between GTK(what sugar uses) and OpenGL. A 3D implementation in JavaScript would take advantage of many available graphic libraries like texture mapping and 3D lighting. It will also benefit from the complete compatibility of OpenGL/WebGL. Apart from these technicalities, it will allow a 3D visualization/learning tool available directly on the WWW for the students.

This project would add basic 3D functions to turtle blocks (e.g. pitch, roll, yaw), camera handling, 3D lighting, texture mapping and lot of examples. It would also have the ability to export the created models to Blender supported format.

This extension would be useful for students. It would enable them to create 3 dimensional objects using simple graphical scripting. It would help them in a number of ways: This project would be taken under the mentorship of Tony Forster and Walter Bender. This would be a sugar activity written in JavaScript and would add towards the motive of the sugar community to add support for HTML 5/JavaScript.
 * Graphical Scripting allows students to easily learn programming in the future.
 * Increases the 3D visualization skills of the students.
 * Imparts a strong understanding of coordinate geometry and vectors.
 * It is fun and boosts their creativity.

Programming Language : JavaScript.

Technologies/Libraries : OpenGL/WebGL, Three.js,

'''What is the timeline for development of your project? The Summer of Code work period is from May 19 - August 22; tell us what you will be working on each week. (As the summer goes on, you and your mentor will adjust your schedule, but it's good to have a plan at the beginning so you have an idea of where you're headed.) Note that you should probably plan to have something "working and 90% done" by the midterm evaluation (27 June); the last steps always take longer than you think, and we will consider cancelling projects which are not mostly working by then.'''

'''Convince us, in 5-15 sentences, that you will be able to successfully complete your project in the timeline you have described. This is usually where people describe their past experiences, credentials, prior projects, schoolwork, and that sort of thing, but be creative. Link to prior work or other resources as relevant.'''
 * I am familiar with the Turtle Blocks Javascript codebase.
 * Prior experience with JavaScript and Graphic programming. Have been programming in JavaScript for 3 years now.
 * No prior commitments in the summer, it would be my top priority.
 * Summer Vacations during the months of May, June, July, therefore can spend at least 45 hours per week on the project.
 * Other than that I am extremely passionate about JavaScript and WebGL. Have successfully completed many projects in WebGL/JavaScript.

Prototype https://github.com/ishan28mkip/turtleBlocks3D http://ishan28mkip.github.io/turtleBlocks3D/
 * A prototype of Turtle Blocks 3D JavaScript : Developed a prototype for the Turtle Blocks 3D JavaScript to get a better grasp on the work that would be required to be done. It can be reviewed here :
 * Updates : Added support for graphical scripting.
 * The prototype can be previewed here :

Other Relevant Work Experience Developed my college tech-fest website using WebGL/JavaScript/HTML5. The website can be viewed here: http://bits-apogee.org/ http://bits-oasis.org/
 * Developed my college cultural fest website. Written in JavaScript/HTML5. The website can be viewed here:
 * Developed an implementation of the brick break game in canvas.
 * Developed a gesture based / aural implementation of braille using kinect.

Current Projects http://helpdu.com
 * Core developer of a startup named helpdu. Developed the backend using node.js/mongoDb.

Relevant Courses completed https://www.udacity.com/course/cs291
 * Currently undergoing a MOOC on WebGL on Udacity.

You and the community
---

'''If your project is successfully completed, what will its impact be on the Sugar Labs community? Give 3 answers, each 1-3 paragraphs in length. The first one should be yours. The other two should be answers from members of the Sugar Labs community, at least one of whom should be a Sugar Labs GSoC mentor. Provide email contact information for non-GSoC mentors.'''

My thoughts:

Once this project is successfully completed, Sugar will have a new 3D implementation of turtle blocks activity in JavaScript. A student anywhere is the world would be able to launch a browser and improve his 3D visualizations skills and his mathematical know how of Cartesian system and vector math. It will act as a virtual lab for the student, wherein he can play, create and at the same time learn.

Walter Bender

What will you do if you get stuck on your project and your mentor isn't around?

If I get stuck and the mentors are not present there are multiple resources that I can look upon. First and foremost I will go on the IRC channel of sugar to seek help from other developer of the sugar community. If this doesn't work out I will try putting the problem up on the mailing list. Then I would post the problem on respectable programmer communities like the stack overflow. If all other things fail, I am in a college with large community of developers to whom I can go to and seek help. If I am still stuck on the problem I will move forward to other parts of the project and try to resolve the problem at a later time.

How do you propose you will be keeping the community informed of your progress and any problems or questions you might have over the course of the project?

https://ishan28mkip.wordpress.com/ http://ishan28mkip.github.io/turtleBlocks3D/
 * Create a Wiki page for putting in ToDo, wishlist, setup, and how-to send patches/pull requests.
 * Will be active on the IRC channel of the sugar community.
 * A blog wherein I will post consistent updates about the progress as well as the difficulties that I am facing.
 * A Github page wherein the preview can be easily viewed. Continuous commits would be pushed to this page. (the prototype is already uploaded)
 * Announce the major milestones through the mailing list.

Miscellaneous
--- '''We want to make sure that you can set up a development environment before the summer starts. Please do one of the following:'''
 * Send us a link to a screenshot of your Sugar development environment with the following modification: when you hover over the XO-person icon in the middle of Home view, the drop-down text should have your email in place of "logout".

Describe a great learning experience you had as a child. Is there anything else we should have asked you or anything else that we should know that might make us like you or your project more?

During my childhood, In 5th class my maths teacher had written on the blackboard that any variable to the power of 0 exponent is one. She then asked the class 'if there was anyone in the class who could prove this?' In a split second I got up and wrote on the blackboard Y x Y x Y / Y x Y x Y which is Y to the power three divided by Y to the power three. Further Y to the power 3-3 or Y to the power 0. Then I cancelled each Y in the first expression to show it is equal to 1. Sometimes our wish to solve challenges teaches us far more than conventional methods.

Other Projects Related to Sugar I am working on:

I have been working on a project of teaching local children the basic of computing. In BITS under NSS we have a school wherein we teach the local children math and sciences. I have taken the initiative to put old unused computers of the institute in this school. When I came in contact with sugar I immediately had idea of installing sugar on these computers to enhance their learning experience. Currently I am working to take this forward.