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

luigir-it/Image2Dice

This branch is up to date with ilyasbilgihan/Image2Dice:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

199283e · Sep 19, 2022

History

6 Commits
Sep 18, 2022
Sep 19, 2022
Sep 19, 2022
Sep 19, 2022
Sep 19, 2022
Sep 19, 2022

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

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%