This is a simple project that rounds the corners of a grid. This project has two rounding algorithms: • 4 neighbors It makes corners of all filled tiles rounded. • 8 neighbors It makes corners of all filled tiles rounded as 4 neighbors does but also makes all inside corners rounded. When you click the "Stop" button a "4 / 8" slider will appear in the corner of the screen. You can change the rounding algorithm with it.
Please don't advertise your projects in the comments! You can do that in studios. -------------------------- Q&A Q: Why are algorithms called that? A: "4 neighbors" needs to check 4 closest tiles to determine its costume and "8 neighbors" checks 8. Q: How does code work? A: I left plenty of comments in code so it should be easy to understand the logic. Q: Can I use your code? A: Yes, but make sure you credit me. Q: Does the project use clones? A: No, a single sprite processes all of the tiles and uses pen to stamp the costumes. This allows the code to work with grids of any size. -------------------------- Feel free to comment your suggestions and questions below! Tags: #tiles #art #grid #algorithm #rounding #grid-processing #geometry