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

Поділитися
Вставка
  • Опубліковано 12 лис 2024

КОМЕНТАРІ • 31

  • @brianplatt9038
    @brianplatt9038 2 місяці тому +1

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

    • @webbae
      @webbae  Місяць тому

      Thanks Brian!

  • @manjitchoubey
    @manjitchoubey 10 місяців тому +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  10 місяців тому

      Sure hop in Discord and send me a code snippet.

    • @manjitchoubey
      @manjitchoubey 10 місяців тому

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

  • @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.

  • @happy_cutman
    @happy_cutman Рік тому +1

    Thank you man!

  • @dereksoup
    @dereksoup 7 місяців тому +1

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

    • @webbae
      @webbae  7 місяців тому +1

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

    • @dereksoup
      @dereksoup 7 місяців тому +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  7 місяців тому +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 7 місяців тому

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

  • @لزهرصحراويمصممجرافيك

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

    • @webbae
      @webbae  Рік тому +1

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

  • @ChiragEmpyreal
    @ChiragEmpyreal 21 день тому +1

    Hey, Thanks so much for this one. Can you share code repo?

    • @webbae
      @webbae  13 днів тому

      Code is in the cloneable

    • @ChiragEmpyreal
      @ChiragEmpyreal 13 днів тому

      @@webbae Yes, got it and I wanted to use it in react js, so, converted the code then.

  • @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.

  • @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!

  • @napu52
    @napu52 Рік тому +1

    that's really cooool

    • @webbae
      @webbae  Рік тому +1

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

  • @joselegit
    @joselegit 8 місяців тому +1

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

    • @webbae
      @webbae  8 місяців тому

      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: ua-cam.com/video/MX1Tbh67oaM/v-deo.htmlsi=KpUewo5j9qdrjR-w

    • @webbae
      @webbae  8 місяців тому

      it's around the 11 minute mark.

    • @joselegit
      @joselegit 8 місяців тому +1

      Thanks! @@webbae really appreciate the response *subscribed