Coding === Art: Award Winning Grid Trail Mouse Follow Effect

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2024

ความคิดเห็น • 27

  • @brianplatt9038
    @brianplatt9038 15 วันที่ผ่านมา

    Wow epic work! Very inspiring. Thanks so much for sharing. (I shall now subscribe!)

  • @happy_cutman
    @happy_cutman ปีที่แล้ว +1

    Thank you man!

  • @heatherliu6856
    @heatherliu6856 ปีที่แล้ว +3

    Serving up hot code!! DALLE has nothing over p5 + a dude who knows his for loops

    • @webbae
      @webbae  ปีที่แล้ว +1

      They love me for my fors.

  • @napu52
    @napu52 ปีที่แล้ว +1

    that's really cooool

    • @webbae
      @webbae  ปีที่แล้ว +1

      had fun making this effect. :) Feels really unique.

  • @dereksoup
    @dereksoup 6 หลายเดือนก่อน +1

    For the Webflow implementation, how do you make the BG transparent it is currently set to black?
    Thanks!

    • @webbae
      @webbae  6 หลายเดือนก่อน +1

      You can’t do transparent bg with p5 canvas. But you can draw it the same color as your background!

    • @dereksoup
      @dereksoup 6 หลายเดือนก่อน +1

      ​@@webbae Thanks for the response - that sucks. Is there any other way to use your own BG in Webflow (eg. White BG section, Grey BG Section, etc)?
      LIke any alternative suggestions?
      p.s Love your work

    • @webbae
      @webbae  6 หลายเดือนก่อน +1

      @@dereksoup you can specify a BG color to draw on the canvas with the background() function, yes! I'm not sure that answers your question though...

    • @dereksoup
      @dereksoup 6 หลายเดือนก่อน

      All good - appreciate your response. Keep up the great work!@@webbae

  • @لزهرصحراويمصممجرافيك
    @لزهرصحراويمصممجرافيك 10 หลายเดือนก่อน +1

    Can we make that interaction in webflow directly? While they have logic , variable, and powerful interaction control panel

    • @webbae
      @webbae  10 หลายเดือนก่อน +1

      not quite. You can get pretty close using a fixed css grid but can only highlight the active (mouse hovered) square that way.

  • @manjitchoubey
    @manjitchoubey 9 หลายเดือนก่อน +1

    HI @webbae
    I tried developing this cool effect by referring to your tutorial, Although I am getting one rectangle visible all the time. Can you help me understand how to remove that?

    • @webbae
      @webbae  9 หลายเดือนก่อน

      Sure hop in Discord and send me a code snippet.

    • @manjitchoubey
      @manjitchoubey 8 หลายเดือนก่อน

      Hey, Thanks for the reply@@webbae
      It was solved.

  • @joselegit
    @joselegit 6 หลายเดือนก่อน +1

    Amazing tutorial, I've got it working perfectly. Wondering how to hide on mobile?

    • @webbae
      @webbae  6 หลายเดือนก่อน

      You can hide the section with your CSS and do a media match query with Javascript to only run the code above a certain screen size. Check out how I use match media in this video: th-cam.com/video/MX1Tbh67oaM/w-d-xo.htmlsi=KpUewo5j9qdrjR-w

    • @webbae
      @webbae  6 หลายเดือนก่อน

      it's around the 11 minute mark.

    • @joselegit
      @joselegit 6 หลายเดือนก่อน +1

      Thanks! @@webbae really appreciate the response *subscribed

  • @YachikaAnand
    @YachikaAnand ปีที่แล้ว

    hey how to set this grid as a background of a div, not on the top of the page?

    • @webbae
      @webbae  ปีที่แล้ว

      you can set the parent container with a p5 function. you'll need to make sure to account for the width and height of course!

  • @NicoleSidneyVargasAlba
    @NicoleSidneyVargasAlba ปีที่แล้ว +1

    where do you call the setup function?

    • @webbae
      @webbae  ปีที่แล้ว

      p5.js calls it automatically. it's designer to be beginner friendly in that way but it's also a bit unintuitive if you have some JS experience already.