Simulatsioonimäng veebilehitsejas

Date

2016

Journal Title

Journal ISSN

Volume Title

Publisher

Abstract

Antud töö eesmärgiks on luua mäng, mis simuleerib teatud füüsilist nähtust ja mis jookseb veebilehitsejas. Mäng simuleerib veelainet, mis põhineb 1-D lainevõrrandil ning mille graafika on kuvatud WebGL'i poolt. Mängija saab mängu mängida nii hiire kui ka veebikaameraga. Mängija peab tekitama veelaineid, et liigutada paat teatud punktidesse. Hiirega juhtimine toimib läbi hiirevajutuste ning veebikaameraga juhtimine toimib käeliigutuste põhjal. Töös antakse sissejuhatus WebGL'i, seletatakse lahti 1-D lainevõrrand, leitakse sellele lahendus ja räägitakse kuidas mäng seda rakendab. Samuti tuleb juttu meetodist, millega saab video põhjal liikumist tuvastada.
The goal of this thesis is to create a game in which a physical\n\rphenomenon is simulated and run in a browser. In the game, water waves\n\rare simulated based on 1-D wave equation. The graphics of the game are\n\rdisplayed using WebGL. The game can be played with a mouse or a webcam.\n\rThe player must make water waves to move a boat to certain locations in\n\rthe water. The mouse input is used to make water waves at certain locations. The webcam allows for detection of hand movements and makes\n\rwater waves based on the hand movements. The thesis will give an introduction to WebGL, explains the wave equation, solves it and explains how the game applies it. A method for detecting movement from video is also given.

Description

Keywords

Citation