Nonogram puzzle creator based on input images

The code creates a Nonogram puzzle based on an image that you select and outputs a spreadsheet that you can solve and have fun!

Ahora está siguiendo esta publicación

The program is executed by running the file 'main-nonogram.m'. Place the image that you want to have a puzzle for it in the same directory and change variable, filename (line 7), to the name of your image file. Since I wanted to keep the code as general as possible you have to tweak the scaling based on your input image. You might have an image which has 1000-by-1000 pixels. The generated puzzle will still be accurate but as you can imagine not that easy to solve (unless you are up to an extreme challange!). So change the variable, scale (line 13), to a value that makes sense to you. This can be a bit tricky because you might lose your image's resolution, so my advice is to input a simple image ;)
main-nonogram.m will call the functions countcell.m and maketext.m and save a spreadsheet in your directory with the same name as filename.

I hope you enjoy the code!

Citar como

Hengameh Noshahri (2026). Nonogram puzzle creator based on input images (https://es.mathworks.com/matlabcentral/fileexchange/81968-nonogram-puzzle-creator-based-on-input-images), MATLAB Central File Exchange. Recuperado .

Etiquetas

Añadir etiquetas

Add the first tag.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0