Otomo: Sinious: that happen to be images
Penney: L8D: So I’m not dirty for using jQuery on something like that? hehe. I know even onLoad isn’t really realiable on image changes so I’m pretty stumped on fading images
Hamburger: I’ve seen it done, but it used absolute positioning, generated another image, waited for onload. all very, non-angular
Trucchi: GgVGc: for going from equation to thing to plot, take a look at math.js. It has a math expression p****r built in
Saum: Trucchi: uhm, I’d be more interested in the other way around. What math lib would you recommend for getting the points to plot?
Sokotowski: I can deal with the rendering myself if we have a good lib for that
Mckenrick: We have one that’s ad hoc and broken, and I want to switch it out to something mature
Lepez: Anyone else handled JS fading a single img from one to another non-crossfade, fade out, change, fade in?
Trucchi: Well – that’s just a matter of building the equation, figuring out the bounds you need, and then running through them
Jakubov: Rather than investing tons of hours writing math code that altready exists
Trucchi: That’s where the math.js expression p****r might come in handy for you
Canupp: Trucchi: it’s not though. asymptotes and other special conditions make things fairly complex
Trucchi: Not if you know the bounds
Trucchi: Unless you want to be able to detect the bounds
Babino: Or you want to just trust 64-bit floating points and draw curves on a canvas
Trucchi: Right, when it comes to graphing it doesn’t really matter that raw js math is gonna be a bit inaccurate
Trucchi: In many cases, at least
Mulliner: Hi. I am new to es6 and have a small question. Let’s say I have main module let Foo = {} how do I add a cl*** to it? cl*** Foo.Bar { //. doesn’t work :/ Anyone?
Trucchi: BUT, I’d take a look at math.js – because then you should be able to just define the equations using math expressions, and not have to worry about manually coding them in
Wakley: L8D: SyntaxError: missing } after property list
Trucchi: GgVGc: as for asymptotes, if I want to graph 1/x, I don’t need to know the asymptotes – I just define my range of x, let it run through over whatever interval will look smooth and gracefully handle dividing by 0,a nd it will look fine
Richison: Ch4r***: you can do: Bar: cl*** Bar {.}
Vellucci: Ch4r***: or you can define cl*** Bar {.} and then do: let Foo = {Bar}; or Foo.Bar = Bar;
Trucchi: Granted, you can make it more efficient for some equations by doing a power series expansion but that’s overkill in many cases
Sier: Sinious: I changed the transition duration to 5 seconds. Does that expose any notable user experience/behavior or affect your opinion of it? When interrupting animation midway
Bocchi: What are we talking about here?
Trucchi: GgVGc: check it out ;- http://mathnotepad.com/ powered by math.js
Schanding: Sinious: Because it looks to me like it breaks down.
Trucchi: Huh, tangle looks pretty neat http://worrydream.com/Tangle/
Belanger: SoCalled: transition duration on my fade text example? I’m not sure what you’re referring to
Girardeau: Sinious: Yes, exactly. Change the animation duration to 5 seconds and does it still behave like you want?
Casso: When you click quickly, interrupting an in progress animation
Mussmann: Little OT: Apple today quote “The future of TV is apps” was little hilarious
Trucchi: Oh, tangle is basically a very usecase-specific view model
Iriarte: SoCalled: I’m going to be changing that entirely to a different way of doing it but my actual intention is to perform a much faster transition. And the one I’ll be using does support the cancellation of a current animation but thanks for toying :
Katcher: Sinious: I’m not toying or trolling, this is an issue that is very near and dear to me
Fougner: SoCalled: What’s your issue?