Metamorphic code is code that outputs a semantically equivalent version of itself: https://en.wikipedia.org/wiki/Metamorphic_code
However, a polymorphic code is code that uses a polymorphic engine to mutate while keeping the original algorithm intact: https://en.wikipedia.org/wiki/Polymorphic_engine
So, is the sole difference that polymorphic code relies on some other program (polymorphic engine), while the metamorphic has this functionality built-in?
Can someone provide an example of polymorphic code either through a link or in an answer?
Thank you,