ilyasbilgihan / Image2Dice

Converts Images to a Dice Art

Home Page:https://ilyasbilgihan.github.io/Image2Dice

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Converts Images to a Dice Art

https://ilyasbilgihan.github.io/Image2Dice


Languages

Language:JavaScript 77.9%Language:HTML 18.0%Language:CSS 4.2%