Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Use the camera.

edited November 2016 in Examples Posts: 87

In this I made a example for how to access the camera.
In this you can swap your face for a emoji!
This is one of my first projects so DONT expect the best and most efficient code

-- Use this function to perform your initial setup
function setup()
    print("Hello World!")
    parameter.integer("WidthOfEmoji", 1, 10)
      parameter.integer("HeightOfEmoji", 1, 10)    
-- This function gets called once every frame
function draw()     
    -- This sets a dark background color 
    -- This sets the line thickness
    sprite("Project:Emoji1",CurrentTouch.x, CurrentTouch.y, WIDTH*WidthOfEmoji/10, HEIGHT*HeightOfEmoji/10)
    -- Do your drawing here  


Sign In or Register to comment.