Design a GUI browser to view a tree [closed] - user-interface

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I have a large tree. I want to be able to visualize it using a GUI tool. I want the ability to pan and zoom the tree image so that i can focus on part of the tree.
Is there an existing tool to achieve this?
If not i would like to write a small tool for myself to be able to do this. what is the simplest way of doing this? what computer language should i use?
the image should look something like
http://upload.wikimedia.org/wikipedia/commons/d/df/Binary_tree.png
I should be able to zoom and pan the image.

One idea is to use the NetworkX library for Python, coupled with its matplotlib visualization. NetworkX can render trees to matplotlib plots and matplotlib allows you to zoom and pan.
Depending on the actual sizes of your trees this may or may not be a complete solution. What's sure is that you can whip it up in a few minutes for rapid prototyping.

Related

Want to learn 360 'adventures' like the link, similar to Google Street View [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm trying to learn how to do some 360 image edits like the site below, and I'm really just looking for any information to point me in the right direction. All I was told by the site owners was "we cant give away anything, but three.js".
Can anyone else help point me in the right direction. I've googled it and its basically sending me in circles.
I just want to be able to move from location to location like Street view and add pointers/annotations.
https://www.xplorit.com/long-beach
Using THREE.js you can set your panoramic photo as the texture on a sphere... You have to flip the .side of the material so it only draws the inside of the sphere.. then use the OrbitController to let the user zoom in/out/rotate the view..
Check out this demo here, and see if you can drag one of your equirectangular images on it:
https://threejs.org/examples/webgl_panorama_equirectangular.html

Haskel, GUI Libraries [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am implementing the Mandelbrot-set in Haskell. I am want to create zoomable version of the mandeblrot set hence I want to create a GUI application where mandelbrot image takes all the screen and the user can draw a rectangle on the screen by holding down the mouse and dragging to create a rectangle the area under the rectangle will then be zoomed in.
I have manged to create mandelbrot computation functions in Haskell, However I am having trouble finding a library that allows me to generate an image and implenent the interactive zooming functionality that I want.
Do you have any suggestions of what GUI\Graphics Library I should be using? Ideally the library should be well documented with samples as i am an amature in functional programming

Software for creating simple animations in Unity [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm trying to add few animations to my game. I searched a bit for some animations software but everything I found was too complicated for me. Is there any simple animation software which I can use with Unity or should I just stick to default Unity animation tool?
If you want to roll it as you said, you can accomplish this in several ways without exiting Unity.
For instance, here are some :
Using an Animator component in the cube and applying a premade Animation (made within Unity via Animation window, just change transform rotation properties)
Using Physics to apply a constant rotation force (torque)
Using scripting to modify transform rotation properties on each frame update (c# or javascript)
Probably more exist but those are the simplest and easiest.
If I were to choose one, Animator + Animations would be my choice. Also have in mind that this component (Animator) is much better performance wise than any other solution when used on several instances in the scene (lots of cubes).

Amazing algorithms for image processing [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I have recently came across a great image processing algorithm called Seam Carving.
It uses graphs (Shortest Path algorithm) to do its job.
What other amazing algorithms are out there worth looking at?
I'm not talking about the majority of boring matrix based ones, rather something you could never think about before you came across it, just like this one.
Even though this is offtopic I'm going to answer ;)
In this page you can find algorithms which:
Depixelize an image
Color a black and white image
Restore a picture or make a HDR (whatever that means...)
Turn a photo into an hand-drawn like image
Seam carving
Remove objects
Compose a picture
Beautify a face

Creating picture from small images [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Let's say I have a very simple image with a few colours (white, black, grey). And I have a set of tiny images (lots of them). Is there any library that can help me rebuild the big image using all of the tiny images as building blocks? Like a mosaic.
Here's an example: http://d.pr/i/LJ0Z
P.S. I've tried to google a solution, but it seems I can't create correct search query because of my bad english. I only get software solutions for creating mosaics.
Just posting a solution to my problem here in case anyone will need in the future.
Let's say you have a simple image with a few colours. You need to re-create it with a set of smaller images (like a mosaic).
Split your image into cells (4x4, 8x8 or any other number) and assign corresponding colour for each cells (in other words "pixelate" your image), create array of cells for each color you have.
Implement listing #4 for Maximal Rectangle Problem from this article: http://www.drdobbs.com/database/the-maximal-rectangle-problem/184410529 (huge thanks to David Vandevoorde for such a great explanation!)
Now, for each small image you have (pieces of mosaic), determine its size as a rectangle. Then, using rectangle packing algorithm of your choice fill the max rectangles with these small images (I've been using this one for C#: http://kossovsky.net/index.php/2009/07/cshar-rectangle-packing/ again, huge thanks to the author for sharing!)
That's it. It's not very fast, but it gets the job done.
this search turns up various results:
andreamosaic
pixisnap
etc.
adding "python library" found osaic. repeat for whatever language you are using...

Resources