29
39

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

JavaScriptで様々なモザイク処理

Last updated at Posted at 2020-10-05

#はじめに
四角形以外のモザイクってどんな感じになるんだろうって思ったので作ってみました。
#イメージ
三角形によるモザイク
triangle.png
六角形によるモザイク
hexagon.png
八角形と四角形によるモザイク
image.png
円によるモザイク(隙間も平均化)
image.png
四角形によるモザイク
image.png

#プログラム
codepenに書きました。
処理自体は割といい加減なので、適当に直して使ってください。

See the Pen Polygon Mosaic by Shinichiro Maki (@olj611) on CodePen.

29
39
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
29
39

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?