Skip to content

Instantly share code, notes, and snippets.

<style>
.vhx-embed { position: relative; width: 100%; height: 0px; padding-bottom: 56.25%; }
.vhx-embed iframe { position: absolute; top: 0; left:0; width: 100%; height:100%; }
</style>
<div class="vhx-embed">
<iframe src="https://embed.vhx.tv/packages/18075?" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</div>
@yewknee
yewknee / magiceye.php
Created October 17, 2024 15:55
PHP + GD, create a magic eye image
<?php
/*
// Merge Image to Pattern to create Autostereogram
// AKA Magic Eye Maker
// Ensure GD library is enabled in your PHP installation
// yewknee.com + ChatGPT authoring
*/
// your directory with an image sequence - name files however you want, just make them sequential
$directory_name = "Depths/Depth-8-512";