seedFor

fun seedFor(layer: Int, head: Int, position: Int): Int(source)

Generate a rotation seed for a given (layer, head, position) triple.

Uses a simple hash combining function to produce deterministic seeds that are well-distributed across the seed space.