Live data from Hacker News

Show HN: TargetJ – New JavaScript framework that can animate anything

github.com

21–30 of 51 posts

Re: Show HN: TargetJ – New JavaScript framework that can animate anything

#22

Earlier quoted context omitted.

Thank you for bringing this to my attention. I apologize for it and will work on a fix over the few days. I'll update as soon as the issue is resolved.

I have now added key arrow navigation. Please let me know if you still have any issues navigating the site. Thanks again.

it's better, but I wouldn't say it's good now. Try holding the arrow keys, the site won't move. Any swiping both on mouse and mobile overshoots by a lot. What should be a small movement scrolls the whole website

Re: Show HN: TargetJ – New JavaScript framework that can animate anything

#23

Seems really laggy

Thank you for your feedback. There was a bug on the site that caused the slowdown. The code is animated to show how it operates in connection with the output, and there was a bug that contributed to the delay. However, I believe I have fixed it.

demo is still laggy for me

Re: Show HN: TargetJ – New JavaScript framework that can animate anything

#25
post #24

[flagged]

Thank you! I’m glad you find TargetJ interesting. It’s indeed a new approach in development, and I can say from personal experience that it does simplify things. As for production use, the targetj.io site is fully implemented using the framework. Initially, I developed TargetJ for another project, but due to financial constraints, I focused solely on the framework. I just published it, so there aren’t any other projects using it yet. If you’re interested in trying it out, I’d love to hear more. Thanks again.

Re: Show HN: TargetJ – New JavaScript framework that can animate anything

#26
post #22

Earlier quoted context omitted.

I have now added key arrow navigation. Please let me know if you still have any issues navigating the site. Thanks again.

it's better, but I wouldn't say it's good now. Try holding the arrow keys, the site won't move. Any swiping both on mouse and mobile overshoots by a lot. What should be a small movement scrolls the whole website

Thank you for the feedback. I appreciate you pointing that out. I will rewrite part of the code as I agree with you that it is lacking. Thanks again for your input. It was really helpful.

Re: Show HN: TargetJ – New JavaScript framework that can animate anything

#27

Earlier quoted context omitted.

Thank you for your feedback. There was a bug on the site that caused the slowdown. The code is animated to show how it operates in connection with the output, and there was a bug that contributed to the delay. However, I believe I have fixed it.

demo is still laggy for me

Thanks for letting me know. I plan to use the Web Animation API to improve performance. Thanks again for your feedback—it was really helpful.

Re: Show HN: TargetJ – New JavaScript framework that can animate anything

#28
post #6
post #5

It's a shame that the non-composited animations just aren't performant enough to animate on mobile devices.

Just as a curiosity, have you thought about transforming the target value stepping down to web animations api calls? That way the implementation could _probably_ get some free performance as the browser could pre-calc some stuff ahead of time, without the need for you to brute force every calc on top of the js engine.

Thank you again for the great suggestion! I’ve reflected on it and decided to work on integrating the Web Animations API. Users will be able to choose between using the Web Animations API or more direct DOM manipulation at runtime, selecting their preference in the target itself. Thanks again for the feedback.

Re: Show HN: TargetJ – New JavaScript framework that can animate anything

#30

Earlier quoted context omitted.

Thank you for your feedback. There was a bug on the site that caused the slowdown. The code is animated to show how it operates in connection with the output, and there was a bug that contributed to the delay. However, I believe I have fixed it.

demo is still laggy for me

How do you expect people to respond to this? You might be browsing on a potato for all we know.
Post reply on HN