Browse Search Popular Register Upload Rules User list Login:
Search:
Maze generator

Image:
no image found for this scene

Author: tatt61880

Group: Default

Filesize: 7.61 kB

Date added: 2012-04-11

Rating: 6.1

Downloads: 1233

Views: 892

Comments: 3

Ratings: 3

Times favored: 1

Made with: Phun

Tags:

Scene tag

This scene includes Thyme script which generates a maze randomly.
The script will work well with both Phun and Algodoo.

Undo and restart simulation to regenerate maze.
NOTE: Once this scene is saved, reloading scene won't regenerate maze anymore.

Large mazes can be generated with this code.
Default size is 4x4.

Changelog:

== 2012.04.17 v2.1==
* IMP: Improved randomness.

== 2012.04.14 v2.0==
* New: Added description on Box.
* New: Added triangles which indicate start and goal.
* IMP: You can set maze size via friction/restituton.
* IMP: Removed "Scene.my."-variables
* IMP: xFor-function -> xFor_improved-function.
* IMP: Reduced boxes (seamless frame).
* FIX: Improved randomness (a bit).

== 2012.04.12 ==
* First Upload
Last edited at 2012/04/16 16:15:56 by tatt61880
Please log in to rate this scene
edit
Similar scenes
Title: Infinite Water Container
Rating: 5
Filesize: 58.22 kB
Downloads: 2999
Comments: 8
Ratings: 1
Date added: 2014/03/14 22:30:56
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Maze Generator V4.0
Rating: 6.7273
Filesize: 102.3 kB
Downloads: 2258
Comments: 16
Ratings: 5
Date added: 2023/04/05 05:30:43
Made with: Algodoo v2.1.0
Rating: rated 6.7
download
Title: Marble Maze 4
Rating: 5
Filesize: 23.74 kB
Downloads: 982
Comments: 0
Ratings: 1
Date added: 2014/09/16 22:40:30
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Maze contest - Gravity-binded vehicle
Rating: 5.375
Filesize: 6.49 kB
Downloads: 951
Comments: 1
Ratings: 2
Date added: 2009/06/28 09:45:14
Made with: Phun
Rating: rated 5.4
download
Title: a maze
Rating: 5
Filesize: 18.31 kB
Downloads: 739
Comments: 1
Ratings: 1
Date added: 2016/06/11 21:07:16
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Water Maze
Rating: 5
Filesize: 0.58 MB
Downloads: 1995
Comments: 0
Ratings: 1
Date added: 2023/07/04 23:51:32
Made with: Algodoo v2.1.3
Rating: rated 5
download
This is awesome. I made a 64 X 64 maze in just a few minutes. I'm not sure what the upper limit is, but it may be limited only by memory size or how long you are willing to wait. Fantastic coding! :tup: :tup:

P.S.: I tried the following: I made a few modifications so that the maze had a hinge at it's center and could be rotated with arrow keys. I added a ball at the entrance, turned on gravity, and then solved the maze using arrow keys.
Last edited at 2012/04/14 14:39:20 by s_noonan
AMAZING!!
_o_ _o_ _o_ Excellent work! I see a few minor things that can be improved, but overall it's a great piece of programming! _o_ _o_ _o_