Jump to content
Search Community

dinchu

Members
  • Posts

    2
  • Joined

  • Last visited

dinchu's Achievements

  1. I need to get the values of the opacity in the onUpdate function to pass them to the elements drawed in the canvas. but i don't know how to doit and instead of a smooth transition you just see images going from opacity 0 to 1 without steps every 2 secs (because of the timeouts) https://codepen.io/Pablo-Delgado-the-typescripter/pen/yLrJGOQ
  2. I have been struggling in creating animations of jpg's in a canvas using GSAP. the only thing i was needing to achieve is a simple animation fadein fadeout of 2 images creating a transition. it works super good an easy outside a canvas. I think with older versions of the library this was possible but not anymore. the fact the new methods: to(), fromTo() take as first parameter a dom element limit the possibility of calculating the animation frame by frame in a canvas. I couldn't find a single example in the docs with a case like mine. The reason why i insist in the use of canvas is the capabilities of a canvas to export a stream of video
×
×
  • Create New...