Pseudo-3D effect through constrained tiling | Philippe Deschaseaux | Observable
js
js
js
js
js
js
js
js
js
js
js
js
js
js
js
Author
Philippe Deschaseaux
@ehouais
Comments (3)
Fil
Aug 20, 2025
Beautiful! This doesn't seem to render under Chrome / Chromium? Works in Firefox and Safari, though.
Philippe Deschaseaux
Aug 20, 2025
Thanks for the comment and the info. Seems like `array.sort(() => .5 - Math.random())` is not a reliable method for shuffling an array, and indeed it doesn't shuffle at all on Chromium, so the blank tile was always selected. It's fixed now.
Fil
Aug 20, 2025
perfect! thanks
Reply
Add comment
Subscribe to notifications
© 2026 Observable, Inc.
Terms of service
Privacy policy
Product
About
Pricing
Documentation
Release notes
Contact us
Open source
Notebook Kit
Plot
D3
Community
Public
Forum
Bluesky
YouTube
X
Observable
Sign up
Philippe Deschaseaux
5
Reply
Add comment
Subscribe to notifications
1
Pseudo-3D effect through constrained tiling | Philippe Deschaseaux | Observable