Browse Search Popular Register Upload Rules User list Login:
Search:
Maze Generator V4.0

Image:
screenshot of the scene

Author: Xray

Group: Default

Filesize: 102.3 kB

Date added: 2023-04-05

Rating: 6.7

Downloads: 2526

Views: 437

Comments: 16

Ratings: 5

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

See instructions in scene...
Last edited at 2023/04/05 05:44:52 by Xray
Please log in to rate this scene
edit
Similar scenes
Title: Infinite Water Container
Rating: 5
Filesize: 58.22 kB
Downloads: 3160
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
Rating: 6.1111
Filesize: 7.61 kB
Downloads: 1378
Comments: 3
Ratings: 3
Date added: 2012/04/11 21:49:16
Made with: Phun
no image found for this scene
Rating: rated 6.1
download
Title: Build your own maze
Rating: 5
Filesize: 8.46 kB
Downloads: 1259
Comments: 0
Ratings: 1
Date added: 2023/03/18 16:25:34
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: Maze contest - Gravity-binded vehicle
Rating: 5.375
Filesize: 6.49 kB
Downloads: 1069
Comments: 1
Ratings: 2
Date added: 2009/06/28 09:45:14
Made with: Phun
Rating: rated 5.4
download
Title: Maze 2018 Not A Contest Entry (HUH?)
Rating: 5
Filesize: 22.79 kB
Downloads: 1655
Comments: 21
Ratings: 1
Date added: 2018/02/22 05:33:16
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Water Maze
Rating: 5
Filesize: 0.58 MB
Downloads: 2566
Comments: 3
Ratings: 1
Date added: 2023/07/04 23:51:32
Made with: Algodoo v2.1.3
Rating: rated 5
download
Great work Xray!

It feels like every day that new possibilities are being explored with Thyme...
That looks fun, maybe add the drawing tool that you already made so one can "solve" the maze?

I noticed a slight mistake when generating a 64x64 maze: some additional yellow arrows appeared within the maze, but otherwise it was normal.
sometimes 64x64 mazes get crashed windows hall
Thank you everyone for your comments!

Concerning problems with very large (64x64) mazes, I probably will not take the time to fix it. So, if generating large mazes is a problem for anyone, just reduce the size until you find one that works without issues.
Is there an easy way to change the size of the generated mazes? I would like to have them much smaller for some experiments.
I'm sure the size of the mazes could be made larger or smaller if someone who understands Thyme script wants to modify the code.

Actually, after I posted my comment I thought of something that might work for your purpose. After your maze has been generated, select the entire maze. Then with the Scale Tool you can expand or shrink the entire maze! Try it.
Last edited at 2023/04/05 19:52:56 by Xray
Yeah, thats what I was already doing, but thats a bit tedious to do for every single maze ^^
It is also a bit odd that you can change the size with the scaling tool of multiple selected objects, but you can not do it with thyme, unless I am missing something... Every Object or every selection of objects should have a "height" and "width" variable, shouldnt they?
Yes, that's true. I looked over the code, and I see two variables that determine the size of the maze. They are:

STREET_WIDTH := 5.0;
WALL_THICKNESS := 2.0;

As a test I changed those values to 2.5 and 1.0 which made the maze 1/2 as large. So, I think you should be able to play around with those values in order to change the size of the generated maze.

Most of the maze generator code is in the large text box in the onKey event, and those two variables are near the top, so they are easy to locate.
Last edited at 2023/04/06 01:19:39 by Xray
Thanks, I´ll check it out!
Hi Xray, i dont think you remember much, but im the guy from that controllable rectangle scene! im working on making a 4D cube rotating animation!
You don't think I remember much? :o Why would you say that? :s I'm not an old man yet! :lol:
can you alter the code to show it building a piece each frame so you can watch the algorithm work in real time?
That's a great idea! I'll see if I can make it work the way you described over the next couple of days.
s_noonan -- Thanks for that link. It aMAZEd me.


Ozziegerff -- Sorry, I was not able to modify the scene per your request. Each time I try something that I think will work I just end up making a mess of it!