1 / 3

Random Snake

Random Snake. Harrison Tsai. Random Walks, DLA. Uses probability to determine its next step Probabilities can be manipulated to change behavior (e.g. with “sticking probability”, snake tends to go in the direction with higher probability) Used periodic boundaries

carina
Télécharger la présentation

Random Snake

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Random Snake Harrison Tsai

  2. Random Walks, DLA • Uses probability to determine its next step • Probabilities can be manipulated to change behavior (e.g. with “sticking probability”, snake tends to go in the direction with higher probability) • Used periodic boundaries • Snake originated in arcades in the late 70s and became the standard pre-loaded game on Nokia phones in 1998 • Noticeable differences: constant size and no penalty for overlap. This is to keep the movie at a constant 200 frames and preserves randomness

  3. Run my code with: Matlab command line>> random_snake • random_snake.m • advance.m • place_body.m • pure_probability.m • straight_sense.m • quadrant_quest.m

More Related