element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
PiCasso Design Challenge
  • Challenges & Projects
  • Design Challenges
  • PiCasso Design Challenge
  • More
  • Cancel
PiCasso Design Challenge
Blog PiCasso Adapting Art to Viewers:  Grandpa Shark, Blog #5
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fmilburn
  • Date Created: 5 Apr 2019 5:24 AM Date Created
  • Views 1761 views
  • Likes 9 likes
  • Comments 6 comments
  • picasso
  • picasso design challenge
  • image recognition
  • raspberry pi camera v2
  • raspberry pi 3b+
  • ai
  • art
  • pi face
Related
Recommended

PiCasso Adapting Art to Viewers:  Grandpa Shark, Blog #5

fmilburn
fmilburn
5 Apr 2019

Art is often made to appeal to a specific set of viewers.  This is the 5th blog in a series exploring the idea of using AI to recognize a viewer and adapt art to their age or interest.  The intent is to encourage early art appreciation while being attractive to all household members.

image

Several people have wondered when I would actually create some art so here is the first masterpiece created for my 3 year old granddaughter using Scratch on the Raspberry Pi.

 

Back Story

 

 

If you have spent any time around 3 year old's lately then you have likely heard and seen the Baby Shark Dance from Pink Fong.  What?  You haven't?  Well then, here is the must see link:  Baby Shark.  It is my granddaughter's favorite, and although the kids are really cute and the tune is catchy, I thought that Grandpa Shark was too wimpy and was driven to create my own video.  So, here is the real Grandpa Shark which I plan to show in the PiCasso Art Adapter Deluxe whenever my favorite 3 year old is detected.  Hopefully the rest of my art will be as good.

image

 

Scratch

 

 

 

Scratch is a programming language for story telling aimed at ages 8 to 16 and developed by the MIT Media Labs.  It comes loaded on Rasbian.  I haven't used it before but it was easy to get started with and fun - I plan to teach it to my grandson.  There are nice tutorials but I just jumped into it without much study.  It is possible to add backdrops, design sprites, animate them, add sound, add thought bubbles and other text, etc.

 

Background and Sprites

 

There are a number of backgrounds already in Scratch, including an undersea background that fits the Grandpa Shark theme well.  The sprite was drawn in the simple editor that comes with the program.

image

 

The Script

 

The code blocks are on the left and dragged into place in the center.  Sprites can be moved around with different speeds, made larger or smaller, and so on by changing the parameters in the code blocks. The entire story is coded in the handful of blocks in the center.  It loops through three fish, makes them larger each time, and then brings in Grandpa Shark. The music (royalty free version) was added outside Scratch in post production.

image

 

World Premiere of Grandpa Shark

 

So, without further ado, here is Grandpa Shark:

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Upcoming Work

 

  • Improvements to the cabinet
  • Obtain training photographs for all the faces and perform training
  • Fabricate a small board to connect the two Raspberry Pi computer
  • Write Python script to drive the monitor and control the art output
  • Develop and obtain additional art

 

If you made it this far, thanks for reading and your thoughts and comments are always appreciated.

 

Other Posts in this Series

PiCasso Design Challenge:  Adapting Art to Ages Blog #1

PiCasso Adapting Art to Viewers: OpenCV Face Detection, Blog #2

PiCasso Adapting Art to Viewers: Cabinet Design, Blog #3

PiCasso Adapting Art to Viewers: Pi talks to Pi, Blog #4

  • Sign in to reply

Top Comments

  • fmilburn
    fmilburn over 6 years ago in reply to dubbie +4
    Hi Dubbie, it is definitely for fun but also part of the competition. I plan to make something for each grandkid or include something they created for display. Frank
  • genebren
    genebren over 6 years ago +2
    Pretty cool video. You really are a very multi-talented person. Good luck on your continuing progress on this design challenge. Gene
  • DAB
    DAB over 6 years ago +2
    Great update. DAB
  • fmilburn
    fmilburn over 6 years ago in reply to DAB

    Thanks DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fmilburn
    fmilburn over 6 years ago in reply to genebren

    My 3 year old granddaughter thinks I am talented also.  Others aren't so sure :-)

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 6 years ago

    Great update.

     

    DAB

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • genebren
    genebren over 6 years ago

    Pretty cool video.  You really are a very multi-talented person.

     

    Good luck on your continuing progress on this design challenge.

     

    Gene

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fmilburn
    fmilburn over 6 years ago in reply to dubbie

    Hi Dubbie,

     

    it is definitely for fun but also part of the competition. I plan to make something for each grandkid or include something they created for display.

     

    Frank

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube