Skip to content
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.

luigir-it/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

[email protected]

About

Converts Images to a Dice Art

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.8%
  • HTML 18.0%
  • CSS 4.2%