Skip to first unread message

Dani Sánchez

unread,
Oct 23, 2016, 7:11:03 AM10/23/16
to MIT App Inventor Forum
Hi,

I would like to make an App so that I can use it to teach pupils to write. I want them to trace letters with their fingers, I mean, I want to show a letter and they need to trace it. How could I make something like this?

Thank you.

Peter Mathijssen

unread,
Oct 23, 2016, 7:43:08 AM10/23/16
to MIT App Inventor Forum

Ghica

unread,
Oct 23, 2016, 8:14:40 AM10/23/16
to MIT App Inventor Forum
Another way could be this:
You could have a canvas that has a certain color and a picture of a letter on it. The student could "write" on the canvas, see for an example the Paintpot tutorial: http://appinventor.mit.edu/explore/ai2/paintpot-part1.html
While the student is writing you could check the background color of the canvas. When the student hits a color that is not the color of the letter, which means he/she is writing outside the character, you could sound a beep or whatever.
Cheers, Ghica.

Dani Sánchez

unread,
Oct 23, 2016, 10:23:28 AM10/23/16
to MIT App Inventor Forum
Thank you all!!
Ghica, That's really interesting. That is exactly what I'm looking for. I want them to write inside the character, and once they have finished (Only if they write inside), they can pass to the next letter. Could you tell me where to find something about how to do that?
Thank you in advance!

Ghica

unread,
Oct 23, 2016, 11:28:56 AM10/23/16
to MIT App Inventor Forum
Start with the paint-pot tutorial I gave a link for. For finding if the student hits a wall, look here: https://groups.google.com/forum/#!topic/mitappinventortest/J6b8eVGcP54
(Tracing the letter is like solving a maze)
You need to find pictures with letters on them, where the letters have marked borders or have an even color.
I think it will be not so easy to find out whether the student completed the letter correctly. Maybe a visual check is needed, at least for your first prototype.

Try some blocks and report here if you have questions.
Cheers, Ghica.

Hossein Amerkashi

unread,
Oct 23, 2016, 12:00:53 PM10/23/16
to MIT App Inventor Forum
@Dani,

For this, you need to learn about Lists, TinyDB, Buttons, Canvas, Sprite and the general concept of handling events.
Go through some intro basic tutorials and then into higher level tutorials HERE. Also, you can check the Gallery to see if you can find something similar to what you are looking for.

Dani Sánchez

unread,
Oct 23, 2016, 4:58:41 PM10/23/16
to MIT App Inventor Forum
Is it possible to do something like this? How?
I've attached a picture.
Thank you
IMG_20161023_225404.jpg

Hossein Amerkashi

unread,
Oct 23, 2016, 5:05:26 PM10/23/16
to MIT App Inventor Forum
PaintPot tutorials show you how to do that. 
You'll need to change Canvas paint color

    

Juan Antonio

unread,
Oct 24, 2016, 12:01:11 PM10/24/16
to mitappinv...@googlegroups.com
Hi Dani, this First Step.


letraa2.aia

Dani Sánchez

unread,
Oct 26, 2016, 1:17:34 PM10/26/16
to MIT App Inventor Forum
The line is too thin. How Can I have a Thick like?
Thank.

Hossein Amerkashi

unread,
Oct 26, 2016, 1:22:03 PM10/26/16
to MIT App Inventor Forum
PaintPot tutorials go through Canvas.LineWidth blocks / usage.

  

 

Dani Sánchez

unread,
Oct 27, 2016, 10:03:02 AM10/27/16
to MIT App Inventor Forum
Thank you all four your answers. I've got this (picture 1), but I would like to go further (picture 2). Can I have something so that when pupils trace the letter it fills the whole letter automatically like in the second picture? maybe it's imposible. Thank you in advance.

IMG_20161027_155321.jpg
IMG_20161027_155430.jpg

Abraham Getzler

unread,
Oct 27, 2016, 2:49:23 PM10/27/16
to MIT App Inventor Forum
Can you pre-draw your letter images with transparent letter images against an opaque background?
If so, then maybe you could use the images as stationary sprites floating above (higher z)
the standard Paint Pot app?

ABG

Dani Sánchez

unread,
Oct 28, 2016, 5:15:31 AM10/28/16
to MIT App Inventor Forum
Thank you! I've finished, but I have my last question.
What can I do to solve this problem?(Picture 1) When I draw the line there are some blank spaces.
What can I do to fill the whole screen?I don`t want the white line above the green area nor the white line below the green area. Can I put the buttoms inside?(Picture 2)


IMG_20161028_110653.jpg
Screenshot_2016-10-28-11-08-48-868_edu.mit.appinventor.aicompanion3.png

Ghica

unread,
Oct 28, 2016, 6:23:12 AM10/28/16
to MIT App Inventor Forum
You cannot put a button on top of a canvas. You could use an ImageSprite on top of the canvas, but it would be easier to make the background color of the screen the same as the background colour of the canvas. Cheers, Ghica.

Dani Sánchez

unread,
Oct 28, 2016, 7:29:26 AM10/28/16
to MIT App Inventor Forum
It's true!and do you know any solution for the first problem?

Juan Antonio

unread,
Oct 28, 2016, 8:15:51 AM10/28/16
to MIT App Inventor Forum
Use DrawCircle.


letraa2.aia
Reply all
Reply to author
Forward
0 new messages