3 415 Codepen

Буквы из точек на canvas

Точки группируются таким образом, что из них получаются буквы. Сделано на canvas. Точки разлетаются, реагируют на курсор мыши.

HTML

<!-- Try moving the mouse around and clicking the text area -->
<div id="title-desktop" class="hidden">pcvector.net</div>
<canvas id="spring-text"></canvas>

CSS

body {
  padding: 0px;
  margin: 0px;
}

.hidden {
  display: none;
}

#spring-text {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100vw;
  height: 100vh;
}

JS

Комментарии

  • Facebook
  • Вконтакте

Похожие статьи