문제

On d3.js homepage, http://d3js.org/, any source code or examples on how the interactive hexagons are created? In particular, I have a set of photos and I'd like to create the same effect. i.e. on mouse hover, the tiles move a little and the hovered tile is highlighted.

도움이 되었습니까?

해결책

If you look at the html source code, they use d3.js (of course) and d3hexbin.js, which is a library able to create and animate hexagons.

You can take a look on the code used in this page (thanks to dev tools) to learn how they use it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top