An open API service indexing awesome lists of open source software.

https://github.com/shamim-akhtar/split-image

This project allows creating Jigsaw tiles from an image using Bezier curves. I have implemented this project using Unity and C#.
https://github.com/shamim-akhtar/split-image

bezier-curves csharp image-processing unity2d

Last synced: about 2 months ago
JSON representation

This project allows creating Jigsaw tiles from an image using Bezier curves. I have implemented this project using Unity and C#.

Awesome Lists containing this project

README

        














# Split Image to Make Jigsaw Pieces

![Sample Picture](https://github.com/shamim-akhtar/split-image/blob/main/screenshot3.jpg)








This project allows creating Jigsaw tiles from an image using Bezier curves. I have implemented this project using Unity and C#. The motivation for this came from the need to create a Jigsaw Puzzle game.

#### It provides a good learning exercise for:
> - Creating bezier points given a set of control points
> - Interpolating the point set to fit the pixel gradient
> - Creating sprites at runtime and applying transparency for regions that fall beyond the bezier curve.

Besides the above core learning points, you will also learn some general programming techniques with Unity and C#.

Sample Screenshot 1 | Sample Screenshot 2
:-------------------------:|:-------------------------:
![Screenshot1](https://github.com/shamim-akhtar/split-image/blob/main/screenshot1.jpg) | ![Screenshot2](https://github.com/shamim-akhtar/split-image/blob/main/screenshot2.jpg)