SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Downloaden Sie, um offline zu lesen
DigitalDoodle: Drawing App 
This tutorial will show you how to draw a line on the screen as the user drags a finger around. 
Start a New Project 
From the My Projects page, click New Project. If you have another project open, go to My Projects 
menu and choose New Project. 
Name the Project 
Call this project DigitalDoodle, or create your own name for this drawing app. 
DigitalDoodle: Drawing App - 1 
Set the Screen so that it does not scroll 
The default setting for App Inventor is that the screen of your app will be "scrollable", which means that 
the user interface can go beyond the limit of the screen and the user can scroll down by swiping their 
finger (like scrolling on a web page). When you are using a Canvas, you have to turn off the 
"Scrollable" setting (UNCHECK THE BOX) so that the screen does not scroll. This will allow you to 
make the Canvas to fill up the whole screen. 
DigitalDoodle: Drawing App - 2
Add a Canvas 
From the Drawing and Animation drawer, drag out a Canvas component. 
DigitalDoodle: Drawing App - 3 
Change the Height and Width of the Canvas to Fill Parent 
Make sure the Canvas component is selected (#1) so that its properties show up in the Properties Pane 
(#2). Down at the bottom, set the Height property to "Fill Parent". Do the same with the Width 
property. 
That's all for the Designer! Go over to the Blocks. 
Believe it or not, for now this app only needs a Canvas. Go into the Blocks Editor to program the app. 
DigitalDoodle: Drawing App - 4
Get a Canvas.Dragged event block 
In the Canvas1 drawer, pull out the when Canvas1.Dragged event. 
DigitalDoodle: Drawing App - 5 
Get a Canvas.DrawLine call block 
In the Canvas1 drawer, pull out the when Canvas1.DrawLine method block.. 
DigitalDoodle: Drawing App - 6
Use the get and set blocks from the Dragged block to fill in the values for the 
Draw Line block. 
The Canvas Dragged event will happen over and over again very rapidly while the user drags a finger 
on the screen. Each time that Dragged event block is called, it will draw a small line between the 
previous location (prevX, prevY) of the finger to the new location (currentX, currentY). Mouse over the 
parameters of the Canvas1.Dragged block to pull out the get blocks that you need. (Mouse over them, 
don't click on them.) 
DigitalDoodle: Drawing App - 7 
Test it out! 
Go to your connected device and drag your finger around the screen. Do you see a line? 
Great work! Now extend this app 
Here are some ideas for extending this app. You can probably think of many more! 
- Change the color of the ink (and let the user pick from a selection of colors). See Paint Pot tutorial. 
- Change the background to a photograph or picture. 
- Let the user draw dots as well as lines (hint: Use DrawCircle block). 
- Add a button that turns on the camera and lets the user take a picture and then doodle on it. 
DigitalDoodle: Drawing App - 8

Weitere Àhnliche Inhalte

Was ist angesagt?

Photo retouching tips and tricks in photoshop
Photo retouching tips and tricks in photoshopPhoto retouching tips and tricks in photoshop
Photo retouching tips and tricks in photoshopRemon Mia
 
Menggunakan Radial blur
Menggunakan Radial blurMenggunakan Radial blur
Menggunakan Radial blurasyarifaisal
 
Image Scrolling Tutorial in PowerPoint
        Image Scrolling Tutorial in PowerPoint         Image Scrolling Tutorial in PowerPoint
Image Scrolling Tutorial in PowerPoint kaitlynwilde
 
Surfboard Tutorial
Surfboard TutorialSurfboard Tutorial
Surfboard TutorialCPZ Media
 
5 combining images and applying filters
5 combining images and applying filters5 combining images and applying filters
5 combining images and applying filtersMarty Sison
 
Unit 5 Task 4 Tutorial
Unit 5 Task 4 TutorialUnit 5 Task 4 Tutorial
Unit 5 Task 4 Tutorialilyaboj
 
Fajardo, winfreya m. 11 caritas, abm
Fajardo, winfreya m. 11  caritas, abmFajardo, winfreya m. 11  caritas, abm
Fajardo, winfreya m. 11 caritas, abmshanneprincesspanamb
 
Designing with illustrator
Designing with illustratorDesigning with illustrator
Designing with illustratorLesley Baumann
 
Presentation for posterising technique
Presentation for posterising techniquePresentation for posterising technique
Presentation for posterising techniquecedannatt
 
Presentation for posterising technique
Presentation for posterising techniquePresentation for posterising technique
Presentation for posterising techniquecedannatt
 
3 Ways to Put the Graphic in Infographics
3 Ways to Put the Graphic in Infographics3 Ways to Put the Graphic in Infographics
3 Ways to Put the Graphic in Infographicsvsbma
 
HOW TO: Transform SketchUp Models into Digital Hybrid Watercolor Renderings
HOW TO: Transform SketchUp Models into Digital Hybrid Watercolor RenderingsHOW TO: Transform SketchUp Models into Digital Hybrid Watercolor Renderings
HOW TO: Transform SketchUp Models into Digital Hybrid Watercolor RenderingsstudioINSITE
 
Introduction to Sketchup basics
Introduction to Sketchup basics Introduction to Sketchup basics
Introduction to Sketchup basics Jad El Mourad
 
Paths, Masks And Blend Modes
Paths, Masks And Blend ModesPaths, Masks And Blend Modes
Paths, Masks And Blend ModesShan
 
Intro to Dimension
Intro to DimensionIntro to Dimension
Intro to DimensionAlex Hornak
 
How to: Digital Watercolor with SketchUp
How to: Digital Watercolor with SketchUpHow to: Digital Watercolor with SketchUp
How to: Digital Watercolor with SketchUpstudioINSITE
 
NewTek Lightwave 3D: Keyframing in Lightwave
NewTek Lightwave 3D: Keyframing in LightwaveNewTek Lightwave 3D: Keyframing in Lightwave
NewTek Lightwave 3D: Keyframing in LightwaveSamuel Edsall
 
Balloons tutorial by rokas petskevicius visualpelican
Balloons tutorial by rokas petskevicius visualpelicanBalloons tutorial by rokas petskevicius visualpelican
Balloons tutorial by rokas petskevicius visualpelicanRokas Petơkevičius
 
Keying and Transparency
Keying and TransparencyKeying and Transparency
Keying and TransparencyNikki Mundy
 

Was ist angesagt? (20)

Photo retouching tips and tricks in photoshop
Photo retouching tips and tricks in photoshopPhoto retouching tips and tricks in photoshop
Photo retouching tips and tricks in photoshop
 
Menggunakan Radial blur
Menggunakan Radial blurMenggunakan Radial blur
Menggunakan Radial blur
 
Image Scrolling Tutorial in PowerPoint
        Image Scrolling Tutorial in PowerPoint         Image Scrolling Tutorial in PowerPoint
Image Scrolling Tutorial in PowerPoint
 
Surfboard Tutorial
Surfboard TutorialSurfboard Tutorial
Surfboard Tutorial
 
What is Compositing in Animation?
What is Compositing in Animation?What is Compositing in Animation?
What is Compositing in Animation?
 
5 combining images and applying filters
5 combining images and applying filters5 combining images and applying filters
5 combining images and applying filters
 
Unit 5 Task 4 Tutorial
Unit 5 Task 4 TutorialUnit 5 Task 4 Tutorial
Unit 5 Task 4 Tutorial
 
Fajardo, winfreya m. 11 caritas, abm
Fajardo, winfreya m. 11  caritas, abmFajardo, winfreya m. 11  caritas, abm
Fajardo, winfreya m. 11 caritas, abm
 
Designing with illustrator
Designing with illustratorDesigning with illustrator
Designing with illustrator
 
Presentation for posterising technique
Presentation for posterising techniquePresentation for posterising technique
Presentation for posterising technique
 
Presentation for posterising technique
Presentation for posterising techniquePresentation for posterising technique
Presentation for posterising technique
 
3 Ways to Put the Graphic in Infographics
3 Ways to Put the Graphic in Infographics3 Ways to Put the Graphic in Infographics
3 Ways to Put the Graphic in Infographics
 
HOW TO: Transform SketchUp Models into Digital Hybrid Watercolor Renderings
HOW TO: Transform SketchUp Models into Digital Hybrid Watercolor RenderingsHOW TO: Transform SketchUp Models into Digital Hybrid Watercolor Renderings
HOW TO: Transform SketchUp Models into Digital Hybrid Watercolor Renderings
 
Introduction to Sketchup basics
Introduction to Sketchup basics Introduction to Sketchup basics
Introduction to Sketchup basics
 
Paths, Masks And Blend Modes
Paths, Masks And Blend ModesPaths, Masks And Blend Modes
Paths, Masks And Blend Modes
 
Intro to Dimension
Intro to DimensionIntro to Dimension
Intro to Dimension
 
How to: Digital Watercolor with SketchUp
How to: Digital Watercolor with SketchUpHow to: Digital Watercolor with SketchUp
How to: Digital Watercolor with SketchUp
 
NewTek Lightwave 3D: Keyframing in Lightwave
NewTek Lightwave 3D: Keyframing in LightwaveNewTek Lightwave 3D: Keyframing in Lightwave
NewTek Lightwave 3D: Keyframing in Lightwave
 
Balloons tutorial by rokas petskevicius visualpelican
Balloons tutorial by rokas petskevicius visualpelicanBalloons tutorial by rokas petskevicius visualpelican
Balloons tutorial by rokas petskevicius visualpelican
 
Keying and Transparency
Keying and TransparencyKeying and Transparency
Keying and Transparency
 

Andere mochten auch

Equipo 1
Equipo 1Equipo 1
Equipo 1moslupita
 
Power adriana
Power adrianaPower adriana
Power adrianamoslupita
 
Graficas circulares examen final
Graficas circulares examen finalGraficas circulares examen final
Graficas circulares examen finalismael rodriguez
 
Certificate (1)
Certificate (1)Certificate (1)
Certificate (1)Omer khwaja
 
El Leadership FĂłrum Senior reivindica un mayor papel activo en los mayores
El Leadership FĂłrum Senior reivindica un mayor papel activo en los mayoresEl Leadership FĂłrum Senior reivindica un mayor papel activo en los mayores
El Leadership FĂłrum Senior reivindica un mayor papel activo en los mayoresincoruna
 
La Escritura como Proceso
La Escritura como ProcesoLa Escritura como Proceso
La Escritura como Procesoglenisyraida
 
China ppt
China pptChina ppt
China pptLies12
 
Scaling Scrum with UX
Scaling Scrum with UXScaling Scrum with UX
Scaling Scrum with UXCaleb Jenkins
 
Hands-on Guide to Object Identification
Hands-on Guide to Object IdentificationHands-on Guide to Object Identification
Hands-on Guide to Object IdentificationDharmesh Vaya
 
Dominando la lengua
Dominando la lenguaDominando la lengua
Dominando la lenguaadanvilca
 
TDC2016SP - Trilha Frameworks JavaScript
TDC2016SP - Trilha Frameworks JavaScriptTDC2016SP - Trilha Frameworks JavaScript
TDC2016SP - Trilha Frameworks JavaScripttdc-globalcode
 

Andere mochten auch (16)

Equipo 1
Equipo 1Equipo 1
Equipo 1
 
Power adriana
Power adrianaPower adriana
Power adriana
 
Flora
FloraFlora
Flora
 
Graficas circulares examen final
Graficas circulares examen finalGraficas circulares examen final
Graficas circulares examen final
 
Certificate (1)
Certificate (1)Certificate (1)
Certificate (1)
 
El Leadership FĂłrum Senior reivindica un mayor papel activo en los mayores
El Leadership FĂłrum Senior reivindica un mayor papel activo en los mayoresEl Leadership FĂłrum Senior reivindica un mayor papel activo en los mayores
El Leadership FĂłrum Senior reivindica un mayor papel activo en los mayores
 
Flora
FloraFlora
Flora
 
La Escritura como Proceso
La Escritura como ProcesoLa Escritura como Proceso
La Escritura como Proceso
 
Innoplexus
InnoplexusInnoplexus
Innoplexus
 
China ppt
China pptChina ppt
China ppt
 
Scaling Scrum with UX
Scaling Scrum with UXScaling Scrum with UX
Scaling Scrum with UX
 
Hands-on Guide to Object Identification
Hands-on Guide to Object IdentificationHands-on Guide to Object Identification
Hands-on Guide to Object Identification
 
Vandana
VandanaVandana
Vandana
 
Dominando la lengua
Dominando la lenguaDominando la lengua
Dominando la lengua
 
Biotechnology
BiotechnologyBiotechnology
Biotechnology
 
TDC2016SP - Trilha Frameworks JavaScript
TDC2016SP - Trilha Frameworks JavaScriptTDC2016SP - Trilha Frameworks JavaScript
TDC2016SP - Trilha Frameworks JavaScript
 

Ähnlich wie Digital doodle 2perpage

Adobe Illustrator CS6 Primer
Adobe Illustrator CS6 PrimerAdobe Illustrator CS6 Primer
Adobe Illustrator CS6 PrimerNYCCTfab
 
Plan601 e session 4 demo
Plan601 e session 4 demoPlan601 e session 4 demo
Plan601 e session 4 demorkottam
 
Autocad 2007 Workbook Tutorial
Autocad 2007 Workbook TutorialAutocad 2007 Workbook Tutorial
Autocad 2007 Workbook TutorialJhongNatz
 
Plan601 e session 4 demo
Plan601 e session 4 demoPlan601 e session 4 demo
Plan601 e session 4 demorkottam
 
Auto cad 2007-tutorial
Auto cad 2007-tutorialAuto cad 2007-tutorial
Auto cad 2007-tutorialSyed Javeed
 
Adobe Illustrator CC 2018
Adobe Illustrator CC 2018 Adobe Illustrator CC 2018
Adobe Illustrator CC 2018 NYCCTfab
 
Working with Multiple Application - R.D.Sivakumar
Working with Multiple Application - R.D.SivakumarWorking with Multiple Application - R.D.Sivakumar
Working with Multiple Application - R.D.SivakumarSivakumar R D .
 
Intro to Adobe Photoshop
Intro to Adobe PhotoshopIntro to Adobe Photoshop
Intro to Adobe PhotoshopDUSPviz
 
Designing for Android - Anjan Shrestha
Designing for Android - Anjan ShresthaDesigning for Android - Anjan Shrestha
Designing for Android - Anjan ShresthaMobileNepal
 
Graphical Tool Term Paper
Graphical Tool Term PaperGraphical Tool Term Paper
Graphical Tool Term Paperamit soni
 
Native Mobile Testing for Newbies
Native Mobile Testing for NewbiesNative Mobile Testing for Newbies
Native Mobile Testing for NewbiesSusan Hewitt
 
TUTORIAL ON PHOTOSHOP
TUTORIAL ON PHOTOSHOPTUTORIAL ON PHOTOSHOP
TUTORIAL ON PHOTOSHOPAnamika Chauhan
 
A Primavera Tutorial
A Primavera TutorialA Primavera Tutorial
A Primavera TutorialAaron Anyaakuu
 
Sketchup-Handbook.pdf
Sketchup-Handbook.pdfSketchup-Handbook.pdf
Sketchup-Handbook.pdfAhmad Maher
 
Tutorial flash
Tutorial flashTutorial flash
Tutorial flashDaniel Downs
 
2.1 graphics window
2.1   graphics window2.1   graphics window
2.1 graphics windowallenbailey
 
3d game engine
3d game engine3d game engine
3d game engineluisfvazquez1
 
CHAPTER 1 - Introduction to AutoCAD.ppt
CHAPTER 1 - Introduction to AutoCAD.pptCHAPTER 1 - Introduction to AutoCAD.ppt
CHAPTER 1 - Introduction to AutoCAD.pptMuhammad Taufik
 

Ähnlich wie Digital doodle 2perpage (20)

Adobe Illustrator CS6 Primer
Adobe Illustrator CS6 PrimerAdobe Illustrator CS6 Primer
Adobe Illustrator CS6 Primer
 
Plan601 e session 4 demo
Plan601 e session 4 demoPlan601 e session 4 demo
Plan601 e session 4 demo
 
Autocad 2007 Workbook Tutorial
Autocad 2007 Workbook TutorialAutocad 2007 Workbook Tutorial
Autocad 2007 Workbook Tutorial
 
Plan601 e session 4 demo
Plan601 e session 4 demoPlan601 e session 4 demo
Plan601 e session 4 demo
 
Auto cad 2007-tutorial
Auto cad 2007-tutorialAuto cad 2007-tutorial
Auto cad 2007-tutorial
 
spec
specspec
spec
 
Adobe Illustrator CC 2018
Adobe Illustrator CC 2018 Adobe Illustrator CC 2018
Adobe Illustrator CC 2018
 
Working with Multiple Application - R.D.Sivakumar
Working with Multiple Application - R.D.SivakumarWorking with Multiple Application - R.D.Sivakumar
Working with Multiple Application - R.D.Sivakumar
 
Intro to Adobe Photoshop
Intro to Adobe PhotoshopIntro to Adobe Photoshop
Intro to Adobe Photoshop
 
Designing for Android - Anjan Shrestha
Designing for Android - Anjan ShresthaDesigning for Android - Anjan Shrestha
Designing for Android - Anjan Shrestha
 
Graphical Tool Term Paper
Graphical Tool Term PaperGraphical Tool Term Paper
Graphical Tool Term Paper
 
Native Mobile Testing for Newbies
Native Mobile Testing for NewbiesNative Mobile Testing for Newbies
Native Mobile Testing for Newbies
 
TUTORIAL ON PHOTOSHOP
TUTORIAL ON PHOTOSHOPTUTORIAL ON PHOTOSHOP
TUTORIAL ON PHOTOSHOP
 
A Primavera Tutorial
A Primavera TutorialA Primavera Tutorial
A Primavera Tutorial
 
Sketchup-Handbook.pdf
Sketchup-Handbook.pdfSketchup-Handbook.pdf
Sketchup-Handbook.pdf
 
Drawing Tool
Drawing ToolDrawing Tool
Drawing Tool
 
Tutorial flash
Tutorial flashTutorial flash
Tutorial flash
 
2.1 graphics window
2.1   graphics window2.1   graphics window
2.1 graphics window
 
3d game engine
3d game engine3d game engine
3d game engine
 
CHAPTER 1 - Introduction to AutoCAD.ppt
CHAPTER 1 - Introduction to AutoCAD.pptCHAPTER 1 - Introduction to AutoCAD.ppt
CHAPTER 1 - Introduction to AutoCAD.ppt
 

KĂŒrzlich hochgeladen

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Dr. Mazin Mohamed alkathiri
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 

KĂŒrzlich hochgeladen (20)

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 

Digital doodle 2perpage

  • 1. DigitalDoodle: Drawing App This tutorial will show you how to draw a line on the screen as the user drags a finger around. Start a New Project From the My Projects page, click New Project. If you have another project open, go to My Projects menu and choose New Project. Name the Project Call this project DigitalDoodle, or create your own name for this drawing app. DigitalDoodle: Drawing App - 1 Set the Screen so that it does not scroll The default setting for App Inventor is that the screen of your app will be "scrollable", which means that the user interface can go beyond the limit of the screen and the user can scroll down by swiping their finger (like scrolling on a web page). When you are using a Canvas, you have to turn off the "Scrollable" setting (UNCHECK THE BOX) so that the screen does not scroll. This will allow you to make the Canvas to fill up the whole screen. DigitalDoodle: Drawing App - 2
  • 2. Add a Canvas From the Drawing and Animation drawer, drag out a Canvas component. DigitalDoodle: Drawing App - 3 Change the Height and Width of the Canvas to Fill Parent Make sure the Canvas component is selected (#1) so that its properties show up in the Properties Pane (#2). Down at the bottom, set the Height property to "Fill Parent". Do the same with the Width property. That's all for the Designer! Go over to the Blocks. Believe it or not, for now this app only needs a Canvas. Go into the Blocks Editor to program the app. DigitalDoodle: Drawing App - 4
  • 3. Get a Canvas.Dragged event block In the Canvas1 drawer, pull out the when Canvas1.Dragged event. DigitalDoodle: Drawing App - 5 Get a Canvas.DrawLine call block In the Canvas1 drawer, pull out the when Canvas1.DrawLine method block.. DigitalDoodle: Drawing App - 6
  • 4. Use the get and set blocks from the Dragged block to fill in the values for the Draw Line block. The Canvas Dragged event will happen over and over again very rapidly while the user drags a finger on the screen. Each time that Dragged event block is called, it will draw a small line between the previous location (prevX, prevY) of the finger to the new location (currentX, currentY). Mouse over the parameters of the Canvas1.Dragged block to pull out the get blocks that you need. (Mouse over them, don't click on them.) DigitalDoodle: Drawing App - 7 Test it out! Go to your connected device and drag your finger around the screen. Do you see a line? Great work! Now extend this app Here are some ideas for extending this app. You can probably think of many more! - Change the color of the ink (and let the user pick from a selection of colors). See Paint Pot tutorial. - Change the background to a photograph or picture. - Let the user draw dots as well as lines (hint: Use DrawCircle block). - Add a button that turns on the camera and lets the user take a picture and then doodle on it. DigitalDoodle: Drawing App - 8