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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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