This demo shows you a dynamic tiled background and a player actor in the front. You can move the player with arrow keys. You can also create new tiles using the tile editor (which uses canvas). And then there's a grid editor where you can actually put your created tiles in the demo. All this works locally. There is no server interaction in this app.
For more information see my blog.
Or visit my website.