GARfitti - An AR grafitti experience

GARfitti - An AR grafitti experience

GARfitti - An AR grafitti experience

The Idea

The Idea

The Idea

The idea to create graffiti on a phone came to me during a brainstorming session for new app ideas. The bustling streets of NYC inspired me, imagining how incredible it would be to create virtual graffiti art.

The Process

The Process

The Process

I utilized Unity to construct the foundation of the app and employed Xcode for testing and running it on devices. Initially, my primary focus was ensuring the scripts functioned seamlessly, laying the groundwork for subsequent development stages. This iterative process allowed me to refine and optimize the app's functionality before advancing further.

I found this template to work on.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class SkiWithPlayerController : MonoBehaviour
{
    public OVRPlayerController playerController;
    public float speedToTriggerMovement = 3; 
    public float moveBy = 2;
    public float debugVelocity;

    public Transform hand;
    private Vector3 previousPosition;

    private float startAcc = .01f; 
    private void Start()
    {
        startAcc = playerController.Acceleration; 
    
    }

    private void Update()
    {
        debugVelocity = (this.hand.localPosition - previousPosition).magnitude / Time.deltaTime;

        if ((this.hand.localPosition - previousPosition).magnitude / Time.deltaTime > speedToTriggerMovement) 
        {
            //  playerController.MoveThrottle *= moveBy;
            playerController.Acceleration = moveBy; 
           // playerController.GetComponent<CharacterController>().Move(Camera.main.transform.forward *  moveBy * Time.deltaTime);
            //playerController.moveInfluence *= moveBy;
        }
        else
        {
            playerController.Acceleration = startAcc;
        }
        previousPosition = this.hand.localPosition;

    }
}

Implementing UI

Implementing UI

Implementing UI

Since this template had a very basic UI, and this is nowhere near I wanted my application to work, I tweaked the script so that whenever I tap and create it will choose random colours from a gradient. I also added a size bar to change the size of the line.


Let’s Collaborate

SHAMIL

©

Shamil Jariya

2024

Let’s
Collaborate

©

Shamil Jariya

2024

Let’s Collaborate

SHAMIL

©

Shamil Jariya

2024

Let’s
Collaborate

SHAMIL

©

Shamil Jariya

2024