Elektrine lite

← Feed

@bazzargh@hachyderm.io

Post #302435

2026-02-05 02:11 UTC

Floor is lava? I intended to do this for #tilingtuesday inspired by @csk 's effort which made me think of this carpet. However, it took me way too long to draw the geometry, come up with some animations, calculate the homography to project the points correctly, and mask out the carpet in the original image... #creativecoding #generative Made with #p5js ; the first lines are... const redrum = "#8a1d1e" const dunny = "#46281c" const torange = "#bb6538"

Replies (4)

  • @bazzargh@hachyderm.io 2026-02-05 02:26

    The animation looks much better in the p5 editor; here's the code https://gist.github.com/bazzargh/1880c560707f8de8dd6328a0b3acfbb1 ... which is horrible, you can see where I added alllll those points to do the masking, and the structure kept changing as I changed my mind about animations

    Open ##2448524

  • @jab01701mid@mastodon.social 2026-02-06 01:35

    @bazzargh@hachyderm.io @csk@mathstodon.xyz Watch this while listening to Jack-A-Roe by the Grateful Dead, I dare you.

    Open ##2448525

  • @ireneista@adhd.irenes.space 2026-02-07 07:53

    @bazzargh@hachyderm.io @csk@mathstodon.xyz very impressive

    Open ##2448526

  • @bazzargh@hachyderm.io : Very nice ! And now, I'm just thinking in the integration of this #magickCarper in one of my #raytracing project. https://tube.interhacker.space/w/2K54K29jCJjbzeFAhoR6ig @csk@mathstodon.xyz

    Open ##2448527