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
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
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