Skip to content

ilyasbilgihan/Image2Dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image2Dice

This script will allow you to convert your images to a dice art.

Choose your image from your PC then select a "Horizontal Dice Count" from the list and click "Calculate"

Live Demo


After the calculation is complete, you can download a JSON file that shows which dice you need to place where. (Top to bottom, left to right)

Example JSON file
{
  1: [        // 1st row
    "1: x",
    "2: y",
    "3: z"
  ],
  2: [        // 2nd row
    "1: x",
    "2: y",
    "3: z"
  ],
  3: [        // 3rd row
    "1: x",
    "2: y",
    "3: z"
  ]
}

Dice Used

1 2 3 4 5 6

Examples

Mustafa Kemal Atatürk
Mustafa Kemal Atatürk
Paul Walker
Paul Walker
Keanu Reeves
Keanu Reeves

Reach me

twitter/@ilyasbilgihan

instagram/@ilyasbilgihan

ilyasbilgihan@gmail.com