I'm trying to use the geolocation with Openlayers 3, but find it very slow.
I've tried this example:
http://openlayers.org/en/v3.14.1/examples/geolocation.html
but even on this example page it is very slow.
Any idea if there is a way to improve the speed?
Thanks!
Related
Am building a mobile-based video editor using ffmpeg-kit/react-native https://github.com/tanersener/ffmpeg-kit/tree/main/react-native. when I use complex filter it took me approx 0.5-1 mins to apply filter and then I become able to present how the filter looks like.
What I want is to show a real quick preview before applying the filter. May applications like TikTok are using gl-view to mimic the filter before applying it (to achieve the real quick preview). After exploring FFmpeg I came to know ffplay https://ffmpeg.org/ffplay.html allows us to preview filters before actually applying them. So the question is how can I use ffplay in my mobile app android or ios. I tried exploring mobile-FFmpeg but not able to find any clue. Please ignore my mistakes in English
This is a pretty basic question and doesn't really need much depth for an answer. I was just currently interested in developing an app for iPhones and after learning the swift2 language from the Mac site, i was just wondering which API I should use.
I did some moderate research, and so far spriteKit seems like the way to go (bit of a hassle if I want to port it over to android, but not impossible). But I was just wanting to make sure it's the right way to go.
The app idea revolves around keeping track of some form of progress and being able to use this data to generate graphs for the user? I'd also like to add some image functionality to the application as well. (similar to the health app and how it measures distance walked?)
I know this sounds vague, but would spriteKit be able to do these things? Or is there another API worth having a look into? (I've checked out metal and sceneKit as well, but leaning towards the more 2D type apps)
From my point of view using spritekit for this is overkill.
There are some greats frameworks to do graphs like charts :
https://github.com/danielgindi/ios-charts
Spritekit is more gaming oriented, if you want a "simple" app you don't need it.
I don't think SpriteKit is the right API to accomplish your problems.
SpriteKit is all about moving and manipulating images on the screen. I am quite familiar with the SpriteKit API.
I do not see any help for generating graphs or something like that.
Also it is not the right API to display a proper interface for "serious" apps.
I am wanting to display a line graph with details containing wind speed/gust/lulls etc for out local club paragliding app I am making. wondering what the best way to go about it with is?
The current data is just on the web so something similar that I can pinch zoom maybe:
http://www.acthpa.org/wind/
Willy weather has an awesome app that display very nicely, anyone know what they might have used to make it so? the web is very similar to their iPHone app:
http://wind.willyweather.com.au/vic/western-district/wild-dog-beach.html
after looking around at various 3rd party's, i'm using Core Plot :-)
I've put together a really simple class for displaying line graphs, check it out at https://github.com/johnyorke/JYGraphViewController
Perhaps rotate the phone for the graph view then swipe up and down to go between the different metrics you wish to show?
There are various third party graphing libraries for iOS. I looked into CorePlot a while back, but did not end up needing it. It looked full-featured, although I've seen posts that it is rather complex and involved to use.
I haven't tried posting here before so I hope that I am doing it right.
Some years ago I bought this candle flame Flash based animation:
http://activeden.net/item/candle-flame-animation-v3/discussion/42205
Anyways, that is done in Flash using Action Script and so I am looking for an alternative that looks just as good but works on mobile devices.
I have tried creating small looped movie segments of the animation, gif's and a seris of jpgs using a sprite.
But none of the above really works that well and so I am looking for an alternative.
Could something like this be done in html, css3, javascript? And is there a library/framework out there that could help me build it?
I tried to convert the file via Google Swiffy once, and the end result actually looked surprisingly close to the original, but in terms of performance I was able to crash the browser on my phone everytime I tried seeing the animation.
Can Google Swiffy's code be optimized easily?
Thanks.
Have you tried using a particle system? There are some javascript libraries out there, for instance:
https://github.com/gamealchemist/JSparkle
The demos don't include a 'candle' effect but it shouldn't be that hard to achieve.
I'm working on an app which combines the camera with some OpenGL. The usual "AR" thing. I know how to record the camera, I know how to record OpenGL, I've just failed with a thousand of different options :( over the last 4 days. After I'm wondering if this is at all doable / supported / feasable.
Just use glReadPixels on your finished AR-ed rendering.