What technology is used for 2d positioning in writing tablets like repaper - 2d

I am wondering what is the technology for 2d positioning with note taking tablets like
repaper - https://www.youtube.com/watch?v=Ivskkyx3UYs
bamboo - https://www.youtube.com/watch?v=BqH3FU7VvSQ
I am interested in creating a hand notes simple robot programming for little kids with processing and Arduino. Computer vision can be used for simple commands etc color coded for example, but I want to know how can they achieve getting all coordinates from that ring or so.

Related

Unreal Engine 2D side scrolling platformer - blueprints

Im kinda new to unreal and im trying to make a moving platformer. I have tried with level sequencer just like in a 3D project and here it doesnt work. Its a 2D side scrolling platformer and im using blueprints. Any help?
There are basically two approaches to this kind of scenario. The first one is more Old-School: Sprites.
Unreal has Paper2D which is a decent way to use Sprites and SpriteSheets in a project. The rest of the code is basically the same as with any 3D project, since this is just a 2D plane handling frames.
The second approach is better, stronger, yields better results quality-wise but requires knowing basic 3D and rigging to do it. Simply treat your 3D game as a 2D one with a lateral camera and a 3D skeleton consisting in planes.
If you're doing pixel art, though, the first one should suffice.

Is there a package that allows indoor positionning using iBeacons?

I am trying to build a Xamarin.Forms app that enables indoor positionning using iBeacons. For now, i can only do testing on Android.
Before I jump into trying to adapt existing native packages, I wanted to know if there were some existing libraries.
Thanks in advance.
Indoor positioning using iBeacon is a complex feature that requires both HW (iBeacon devices) and SW -- all components to setup location map, iBeacon position, all logic related to position calculation, and so on. So building this all from scratch is quite a complex task. Thus, I suggest trying something that already exists.
For example, Estimote has indoor positioning feature in their SDK, but from what I know, they use Fingerprinting method to calculate position which is a bit inaccurate; Leantegra (Leantegra GitHub), in turn, posesses this functionality as well, and uses Multilateration method which is more accurate. So, feel free to try it out.
Trilateration is only the first step, to get an appropriate accuracy, you need to use Multilateration method -- calculate position based on signal to multiple (more then 3) beacon devices. If represent ibeacon devices as circle with radius equal to signal strength, you will get a lot of possible disposition, where the calculation of a position becomes quite a complex task...

widgets for a sketching/drawing application

I'm trying to build a small application for a specific problem in cartography. The workflow is like this:
in the field, use a compass and tape measure to obtain terrain data.
also in the field, sketch the plot being surveyed
using inkscape, create a vector drawing of that sketch
crunch the data to obtain the relevant information (implemented already)
put the vector and the data together (mostly warping and scaling the drawing - implemented already)
Now, I'd like to do the vectorizing, which I'm doing in inkscape now, directly in my custom application - this helps me characterize the sketch faster.
I had a look at the Inkscape and Karbon codebases, but the code responsible for the widgets that draw curves and paths, along with the whole user interaction parts, is quite involved. I'd like to stick to number crunching and make sure that works properly.
In short, I'm looking for something like Qwt (whichs provides plotting utilities), but directed to adding vector drawing/sketching functionality to an application. Then it'd be a matter of putting the GUI pieces together, and i'd be free to worry about the number crunching. So far I couldn't find anything like this - Inkscape, Karbon, Libreoffice, Printdesign, Gimp, they all implement their own path, curve widgets, using the graphics primitives of their frameworks and adding all the code that shows the curve moving with the mouse, the control points, etc.
Does anyone have an idea if such a pre-made framework for higher-level graphics - that lets me forget about the GUI code - exists?
Thanks!
QGraphicsScene and QGraphicsView provide enough for you to fairly simply implement the rest of it. Do note that Qt has a rather rich set of graphics primitives that you can trivially reuse, like bezier curves, paths, etc. You need to implement the application-specific bits, but the basics are done.

Dynamic 3D Map Visualization Toolkit?

I'm seeking a dynamically updatable, "real-time" map visualization toolkit that would support the following concept:
A user-controlled pilot's eye view flying above a landscape where the topography is
dynamically changing (hills rising and falling, slip/sliding around, valleys opening and
filling) in real-time. (Currently just a color-coded landscape surface would be acceptable, although the eventual goal is to overlay terrain/map imagery.)
Another process is dynamically updating the landscape topography data
as our fearless flyer passes over it.
There's lots of 3D visualization "explorers" out there, but they all seem to either be limited to a static data set, or require that the dynamic evolution of the data visualizations all be calculated in advance and then strung together as an animation. And flight simulators of course all pretty much assume that the topography doesn't change while in flight.
Technical wishlist:
Linux
C API preferred, but open to C++ or Java (or Ada :-)
Free/Open source preferred, but will consider proprietary
Performance: Well, I'll try to work with whatever it's got
If C++ is ok, and you don't require something too high level, I'd HIGHLY recommend OpenSceneGraph for a project like this. I used it on a project several years ago to display various forms of geospatial data on a globe (vector coastline data, sat imagery, etc).
Do keep in mind you're not limited to writing your entire solution in C++ :)
Our 3D visualization app combined our C++/OSG 3D library for graphics, a Java front-end for the GUI, and some old fortran code for the serious number crunching :O

BOX2D flash game Applyforce/Apply Impulse?

I am trying to replicate this game for flash using Box2D http://www.physicsgames.net/game/Tricharge.html . I have everything fine, the only problem i am having is when the group of bubbles burst, How do i apply a uniform increase in speed like it does in the game. I have tried ApplyForce, ApplyImpulse but all i get is what looks like an explosion of balls.
It depends on which framework you are using.
One way to accomplish this is to apply a gravity vector that is specific to these objects in the upward direction.
Another way to accomplish this is to apply an elastic joint so that it's a constant acceleration.
I'm assuming you're using http://www.box2dflash.org/docs/2.0.2/manual#The_Joint_Definition. I believe that you may be able to use the mouse joint.

Resources