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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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