- Main
- Computers - Computer Graphics & Design
- Computers - Programming
- Mazes for Programmers: Code Your Own...
Mazes for Programmers: Code Your Own Twisty Little Passages
Jamis BuckQuanto ti piace questo libro?
Qual è la qualità del file?
Scarica il libro per la valutazione della qualità
Qual è la qualità dei file scaricati?
Unlock the secrets to creating random mazes! Whether you're a game developer, an algorithm connoisseur, or simply in search of a new puzzle, you're about to level up. Learn algorithms to randomly generate mazes in a variety of shapes, sizes, and dimensions. Bend them into Moebius strips, fold them into cubes, and wrap them around spheres. Stretch them into other dimensions, squeeze them into arbitrary outlines, and tile them in a dizzying variety of ways. From twelve little algorithms, you'll discover a vast reservoir of ideas and inspiration.
From video games to movies, mazes are ubiquitous. Explore a dozen algorithms for generating these puzzles randomly, from Binary Tree to Eller's, each copiously illustrated and accompanied by working implementations in Ruby. You'll learn their pros and cons, and how to choose the right one for the job.
You'll start by learning six maze algorithms and transition from making mazes on paper to writing programs that generate and draw them. You'll be introduced to Dijkstra's algorithm and see how it can help solve, analyze, and visualize mazes. Part 2 shows you how to constrain your mazes to different shapes and outlines, such as text, circles, hex and triangle grids, and more. You'll learn techniques for culling dead-ends, and for making your passages weave over and under each other. Part 3 looks at six more algorithms, taking it all to the next level. You'll learn how to build your mazes in multiple dimensions, and even on curved surfaces.
Through it all, you'll discover yourself brimming with ideas, the best medicine for programmer's block, burn-out, and the grayest of days. By the time you're done, you'll be energized and full of maze-related possibilities!
What You Need:
The example code requires version 2 of the Ruby programming language. Some examples depend on the ChunkyPNG library to generate PNG images, and one chapter uses POV-Ray version 3.7 to render 3D graphics.
From video games to movies, mazes are ubiquitous. Explore a dozen algorithms for generating these puzzles randomly, from Binary Tree to Eller's, each copiously illustrated and accompanied by working implementations in Ruby. You'll learn their pros and cons, and how to choose the right one for the job.
You'll start by learning six maze algorithms and transition from making mazes on paper to writing programs that generate and draw them. You'll be introduced to Dijkstra's algorithm and see how it can help solve, analyze, and visualize mazes. Part 2 shows you how to constrain your mazes to different shapes and outlines, such as text, circles, hex and triangle grids, and more. You'll learn techniques for culling dead-ends, and for making your passages weave over and under each other. Part 3 looks at six more algorithms, taking it all to the next level. You'll learn how to build your mazes in multiple dimensions, and even on curved surfaces.
Through it all, you'll discover yourself brimming with ideas, the best medicine for programmer's block, burn-out, and the grayest of days. By the time you're done, you'll be energized and full of maze-related possibilities!
What You Need:
The example code requires version 2 of the Ruby programming language. Some examples depend on the ChunkyPNG library to generate PNG images, and one chapter uses POV-Ray version 3.7 to render 3D graphics.
Anno:
2015
Edizione:
1
Casa editrice:
Pragmatic Bookshelf
Lingua:
english
Pagine:
275
ISBN 10:
1680500554
ISBN 13:
9781680500554
File:
PDF, 8.71 MB
I tuoi tag:
IPFS:
CID , CID Blake2b
english, 2015
Leggi Online
- Scaricare
- pdf 8.71 MB Current page
- Checking other formats...
- Convertire a
- Sbloccare file di conversione di dimensioni maggiori di 8 MB Premium
Il file verrà inviato al tuo indirizzo email. Ci vogliono fino a 1-5 minuti prima di riceverlo.
Entro 1-5 minuti il file verrà consegnato al tuo account Telegram.
Attenzione: assicurati di aver collegato il tuo account al bot Z-Library Telegram.
Entro 1-5 minuti il file verrà consegnato al tuo dispositivo Kindle.
Nota: devi verificare ogni libro che desideri inviare al tuo Kindle. Controlla la tua casella di posta per l'e-mail di verifica da Amazon Kindle Support.
La conversione in è in corso
La conversione in non è riuscita
Vantaggi dello status Premium
- Inviare a lettori di e-book
- Limite aumentato di download
- Converti i file
- Più risultati di ricerca
- Altri vantaggi