The Japanese Buddhist gogyo and godai are distinguishable from each other by the fact that the  elements of wood or metal within gogyo are replaced by the  void or the wind (air) in godai depending on the variant version. Godai is attributed to esoteric Japanese Buddhism during the tenth century CE under the name of gorin (the "five wheels" or the "five rings"). Godai and gorin eventually moved into ninjutsu, where this principle of the five elements became an essential aspect of the esoteric ninja teachings (the ninpo-mikkyo) whereas the theory of gogyo moved into the formative theory of traditional Japanese medicine and exoteric Buddhism.
The Japanese Buddhist gogyo and godai are distinguishable from each other by the fact that the functional elements of wood or metal within gogyo are replaced by the formative elements of void or the wind (air) in godai depending on the variant version. Godai is attributed to esoteric Japanese Buddhism during the tenth century CE under the name of gorin (the "five wheels" or the "five rings"). Godai and gorin is also seen within the practice of ninjutsu, where these principles became an essential aspect of the esoteric ninja teachings (the ninpo-mikkyo) whereas the theory of gogyo moved into the functional theory of traditional Japanese medicine and exoteric Buddhism.
A
functional
A
formative elements of
R
eventually moved into
is also seen within the practice of
R
this principle of the five elements
these principles
R
formative
functional