sWangTiler is a java implementation that generates wang tiles from any given input image.
By assembling wang tiles that share common edges (like domino pieces) one may generate textures of any desired size.

Wang tiles greatly reduce visible repetitions making textures seem more natural and thus improve the quality of any graphic application like games, simulations etc.

This implementation is based on the strict wang tile algorithm as proposed by Xinyu Zhang and Young J. Kim in "Efficient Texture Synthesis Using Strict Wang Tiles". In order to calculate the lowest cost path between any edge- and sample image an implementation of Dijkstra's algorithm is used which was found in the java graph library 'JGraphT'.

Credits to all mentioned parties and to http://www.texturemate.com/.

Features

  • Generate a group of 4, 8 or 16 Wang tiles
  • Supports Wang tiles in multiple resolutions:16x16, 32x32, 64x64, 128x128
  • Colors indicate common edges
  • Create large preview texture from tiles
  • Save tiles individualy or packed as one image
  • Download includes folder with various images that proved to work extremely well with this program

Project Samples

Project Activity

See All Activity >

Categories

Graphics

License

Eclipse Public License

Follow sWangTiler

sWangTiler Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of sWangTiler!

Additional Project Details

Operating Systems

BSD, Linux, Windows

User Interface

Java Swing

Programming Language

Java

Related Categories

Java Graphics Software

Registered

2015-05-01