1 of 32

PHYSICS BASED

SLINGSHOT SIMULATOR

9V Battery Lickers

2 of 32

TABLE OF CONTENTS

01

02

04

03

What our solution is about

Intro and Problem statement

What we did

Our Solution

What we can do next

Future implementations

Wow!

Live Demo

3 of 32

THE TEAM

Jonathan ONG

NYP

KOH Win

NYP

Nicholas ONG

SMU

NG Hong Ming

Nanyang JC

(9V)

4 of 32

Intro and

Problem statement

01

5 of 32

Main problem statement

Requirements

Accurately pinpoint the position of a shooter shooting slingshot projectiles into windows.

  • Need to create a simulation to determine the path of projectile that:
    • Does not travel in a straight line over short distances
    • Changes trajectory when deflecting or ricocheting off surfaces
    • Simulates realistic physics of projectiles under certain scenarios
  • Using the information, accurately estimate shooter position

6 of 32

Current Scenario given

7 of 32

Assumptions

Given Assumptions:

Additional Assumptions:

S/N

Given Assumptions

1

Projectiles are spherical chrome steel ball bearings that are 1cm in diameter

2

Projectile launch velocity is 70m/s

3

The shooter remains in a fixed position

4

Wind and gust speed is negligible

5

Gravity is 9.8m/s2

6

All projectiles will account for air resistance

S/N

Additional Assumptions

7

Any metal ball that strikes a wall before striking a window will be omitted from being a projectile source

8

All metal balls will follow the our modelled formulas given in Section 2.2

9

The ball has no spin

10

The fracture is always at the centre of the window

11

HDB dimensions have vertical distances between the midpoint of windows between levels of 3.6cm, 6.8cm from the ground floor to the 2nd floor window.

8 of 32

Current measures + flaws

Aims

Protrusion Rods

Laser Based Trajectories

Flaws:

  1. Requires physical setup (costly)
  2. Does not account for gravity or wind resistance
  3. Bulky and infeasible for long distances such as in the problem statement
  4. Time consuming to obtain results

  1. High accuracy
  2. Quick and easily repeatable for multiple scenarios
  3. Easily accessible
  4. Cost effective

9 of 32

Our

solution

02

10 of 32

CLOUD BASED

Slingshot simulator program

11 of 32

How it is better

We used Unity with built in real time accurate physics, along with our own calculations

Cloud based. Access the program anytime, anywhere.

Accurate physics simulation engine

Fully digitalized

Get your results in mere seconds! All for a fraction of the time due to no physical setup

Fast and cheap

Set up the perfect scenario to suit your needs with our highly modular settings panel

Customizable

12 of 32

Our solution

In Action

13 of 32

Our Solution In Action

  • Freely select windows
  • Realtime physics at 500 calculations per second
  • Automatic readjustment for better accuracy
  • Tracers for easier visualization

14 of 32

Features

Extreme customizability

  • Adjust calculation density for more accurate results

  • Adjust wind speed, distance and number of building floors to fit your scenario

  • Speed up simulation speed for faster calculations

15 of 32

Features

Post simulation settings

  • Most accurate shooter position will be marked in cyan

  • Enable heatmap to show the most accurate general shooter area

  • Free cam mode to fly around and inspect the simulation

  • Accuracy display limit slider to narrow down the general location of the shooter

16 of 32

Trajectory Models Used

c is the drag coefficient of the ball.

A is the frontal surface area of the ball, modelled as a sphere of radius r.

p is the density of air, which we have taken to be 1.225 kg m-3

17 of 32

Accuracy

Accuracy is the likelihood of it being the culprit.

Accuracy (%) = 100 * (y( x/90) + z(V / V_max))

Where (x) is the angle of impact 90 - a,

V is the impact velocity

V_max is the initial velocity

y + z = 1

Final accuracy is the average of both windows

100%

50%

90 - a

18 of 32

Features

Accuracy Weight bias

  • Allows you to change the formula of the accuracy equation

  • Applies more impact to either Velocity of Impact or Angle of Impact during accuracy calculations in real time

  • Results can be seen instantly without extra loading required

100 * (y( x/90) + z(V / V_max))

19 of 32

LIVE

DEMO

03

20 of 32

TRY IT WITH US!

LIVE

DEMO

(Some settings only work on Windows)

Bugs and glitches apply

Also available for Windows, Linux, WebGL and Mac On our github page

Recommended

Cloud hosted

http://18.141.198.4:5000

Github Pages

kinneh04.github.io

21 of 32

The future of

Our product

04

22 of 32

Scenario Manager

Setup scenarios for any situation (prototype)

  • Real world scenarios
  • Create new scenarios to fit your needs!

23 of 32

Scenario Maker

Create a new Scenario easily using Google Maps API (prototype)

  • Pan and zoom the map to locate culprit buildings

  • Pick 2 buildings anywhere on the map

24 of 32

Scenario Maker

All processes are automated.

  • The application will automatically generate a scenario based on the data given by the user

  • Save and reload the scenario at any time!

  • Saved scenarios are stored locally in browser cookies

  • Scenarios can also be saved and imported to and from a database using PHP / SQL

25 of 32

Other expansions

Use the slingshot simulator app on your phone!

Mobile Port

Pre calculation and caching of data for even faster results!

Hashmaps

Getting of obstacles from google maps API for more accurate calculations

Obstacles

Use past data to identify trends in shooter locations in buildings and around singapore

Trendmap

26 of 32

Other expansions

Improving and optimizing physics calculations to allow for > 1000 calcs / s

Physics improvements

Real time visualization of air flow from gusts and winds to help improve customizability and accuracy

Air flow visualization

27 of 32

Questions?

The end

28 of 32

Our Solution

In Action

29 of 32

Future Expansions

Scenario Manager - Adds in UI for users to easily import different HDB models and to vary their dimensions as needed

  • features a map for easy reference to previously created simulations (if a simulation had been done on that location before)

Cloud-based - easy access for officers on the ground and easy setup - available on mobile too - Results can be cached for faster simulations

30 of 32

Live Demo

31 of 32

Slingshot Simulator

By 9V Battery Lickers

32 of 32

Team Members

Jonathan ONG

KOH win

Nicholas ONG

NG Hong Ming

Victoria SANTOSO