Skip to content

amberdambey/html-randomwalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

HTML Random Walk Trail Simulator

A point within a grid moves between adjacent cells. It can move up, down, left, or right. Every iteration, the cell it is currently at changes color by increasing a specific color channel, red, green, or blue, determined upon reloading the page.

Made with HTML & JavaScript, standalone (No .css or .js files needed) This is a simple project which I used to generate fire textures for a game I'm currently working on. It is very primitive at the moment.

Right-click to refresh, left-click to enable mouse auto-hide

The page automatically refreshes when the density of a cell exceeds 20.

Color modes:

R/G: Fire

G/R: Green-to-yellow

G/B: Emerald-like color

B/G: Ice/Water

B/R: Crystal-like color

R/B: Ruby-like color

Currently, there is no user interface. As such, color mode is selected randomly upon refresh.

This is one of my first ever JavaScript projects, so it isn't the best, yet!

I suggest you read the Wikipedia article for more info.

About

A random walk trail demo in HTML-5

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages