Jump to content

Alex G (Velocity)

  • Posts

  • Joined

  • Last visited


4 Newbie
  1. Hey Blake! Many thanks for the examples & info there, those are very useful. I'm in the exploratory phase at the minute but GSAP is always my go-to for any serious animation on the web. At this stage I'm thinking canvas and GSAP will be my first experiment and depending on performance possibly webGL. To answer your question, it's for a professional project at the company I work at, I'm quite excited about it too actually. Although the project is closed source, I may be able to share some code for the controller I end up writing for our Angular 2 app if you're interested! We've actually crossed paths before, but I was on my personal account, I had an idea for a UI pack for GSAP a long time ago: https://greensock.com/forums/topic/11690-qui-work-in-progress-front-end-ui-pack-for-use-with-gsap/. I've now been working commercially with angular and typescript for the last two years, and fortunately am a much more experienced programmer. I'm curious is it still in your roadmap to implement that? If not, I was weighing the idea of writing a library for that purpose in TypeScript!
  2. Hey guys! I have something I'd like to implement which you could consider to effectively be a floor plan for a venue. I've advocated GSAP for a while now and so thought I'd explore what was available for it. I like the look of draggable a lot. Effectively I'd like some advice. I want to create an area on the screen and that can zoom/pan and allow me to add elements to a grid in the form of differently shaped tables. The size of the floor can grow (ad infinitum) depending on the positioning of tables, but there will always in practical terms be boundaries to the floor. A table may have dimensions of let's say 5x5 (as in grid squares) and I would like to be able to drag & rotate them as part of Angular 2 app, with them snapping to the grid. Draggable has a lot of the features I require. I'm wondering whether anyone thinks I could suitably achieve this solely with draggable and a bit of vanilla JS, whether using draggable alongside canvas/webGL would be more appropriate, or whether it wouldn't fit my needs at all. Any recommendations here would be greatly appreciated. I would love it if anyone knew of any examples like this too, I've searched around but not found anything too similar as yet. Many thanks, Alex