Do You PHP はてブロ

Do You PHPはてなからはてブロに移動しました

ヒエログリフに変換するクラス

いろいろありますね〜。ヒエログリフは現在ではほぼ解読できているそうで、変換はアルファベットに対するマッピングで可能みたいですね。
実際に「shimooka」「doyouphp」を変換すると、それぞれ

  • shimooka → 
  • doyouphp → 

な感じになります。ちなみに、どの様に作っているかは、Hieroクラスのen2hieroメソッドを見てみると分かると思います。
まあ、具体的に役に立つかどうかは別として、Webページのちょっとしたアクセント(?)に良いのかも?


This class can be used to translate words using the English alphabet into Egyptian hieroglyphics.

It takes a string of characters of the English alphabet and generates an image on which it is rendered a sequence of hieroglyphics that represent the translation of the English characters.

The generated image is returned as GD image resource.