Jump to content
Search Community

eaglehopes

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Interests
    Computer programming

eaglehopes's Achievements

  1. Thanks mvaneijgen for answer and warm welcome Let me ask a question according to your answer then; is each "new tween" a "new object" like in Java? Do they accumulate on ram or browser's cache? So do I need to collect garbage of such objects when I used my code then? Your code is more neat than mine including ternary operators, I will change my codepen, in a new fork of course(I am new to codepen too ) ! Thanks again.
  2. OMG, I found my mistake, when remove the code of translateOrigin from click event function , it worked. Thanks. Also my codepen shows working version too.
  3. Hi all, I am new to gasp and trying to learn it. I am trying to draw some svg shapes and rotates it, in my code I draw a simple lever. My code was I could not understand why did not transformOrigin not worked? Can anybody say why? It is not rotating about the mid bottom, but left of it... Thanks.
×
×
  • Create New...