How to get the color of a pixel React Native using expo - react-native

What I'm trying to do is to recognize the color of a pixel via expo-camera. I've used react-native-pixel-color but couldn't make it work. If someone has an example project I could look into I would really appreciate it.

Related

Drawing with React Native

hey guys i'm trying to create a way to draw, like paint, using react native/expo, does anyone have an idea how i can do this?
I tried looking for some packages that did this, but I didn't succeed in implementing any of them

How to recreate photomath photoscaner in react native?

I'm trying to recreate photomath photoscaner in react native, and I cant find any simple solution that can "select" part of an image and crop it while using camera, and solution that can be resized at the same time. Do you have any suggestion on how to implement this?
Here is how it looks like:

How to show a 360 degree image in react native, in an expo managed workflow

I'm trying to implement a modal in which I show the user a 360 degree image and he can move the image freely, the problem is the only library I found for this, https://github.com/lightbasenl/react-native-panorama-view, can not be used in an expo managed workflow. I also found this old post How to show 360 images in the react native, but the answer is very old and I can't seem to make it work.

React Native funnel chart

Is there any React native package to create funnel chart like in this?
or how to implement this chart on our own in react-native?
When it comes to drawing lines, shapes, gradients, etc, you have about two decent options in the react-native space.
The first one is React Native Art, the second one is react-native-svg. There are some charting libraries available as well, but when you want full customisation and styling/design options, the best way probably is to stay as close to the drawing api's as possible.
The funnel-graph-js project you mention uses browser SVG to draw the funnel chart, so I guess you can probably copy and adjust some code to achieve a similar result using react-native-svg.

How to add custom image on native map in Titanium?

currently i am working on native map in Titanium for android and iOS.
you might have seen native maps on which a custom image layer or layout is being displayed, which will rotate and zoom according to the user input (currently i am not talking about annotations)
i have tried using annotation map tile too but it doesn't seems to work as the native map app i have seen
if you have any question or are not able to understand my question please let me know so i could clarify and get solution for one of you
Update:
Can you give a better explanation of what you've tried?
you might already know about mapbox.com and leafletjs.com, by using their library we could make customize maps and offline map in webview but i am looking for some Titanium module which could help me use native map of iOS and android for performing similar functionalities(i am avoiding commercial library and plugins as my app is not commercial app). i want to create map tiles which could be used for offline purpose as the user would have downloaded with the app.
what i have tried yet!!
1: http://i.stack.imgur.com/CLiNh.jpg
2: http://i.stack.imgur.com/QOLO7.jpg
in first image link i have given image in which i showing screenshot of map with rotation (if you notice compass) and the map tile moved accordingly to it
in 2nd image ... i had put a map tile using createAnnontation function, but unable to fix its layout remains same and it doesn't resize when i do zoom in/out too
I assume you are talking about custom tiles on top of a MapView.
There is an example module for iOS at https://github.com/benbahrenburg/benCoding.Map which used the Titanium map module as a base. It is a bit dated, but see the TileOverlay example and code and it will get you on the right track.
The best tutorial I've found on how to create the tiles is at http://www.ericbinnion.com/creating-custom-overlays-for-ios-mapkit-framework/
I've tried to create a similar TileOverlay functionality by forking the Android map module with limited success. I never got it to work as well as the native maps.
You could also check out using Mapbox with Titanium. There are great tutorials and tools for creating your own tiles layers and manipulating existing layers. Adam Paxton gave a great demo of it at TiConf in New York this year.