おもいのまま
as one pleases; to one's heart's content
Noun
風かぜはその思おもいのままに吹ふきます。
The wind blows wherever it pleases.
鳥とりのように思おもいのままに空そらを飛とびたいという欲望よくぼうが、飛行機ひこうきの発明はつめいにつながった。
The desire to fly in the sky like a bird inspired the invention of the airplane.