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 2 years ago.
Improve this question
I am looking for a geometry module with similar feature as Geogebra for Python.
I would like to, from a set of defined length calculates coordinates of points and some transformations such as rotation of x degrees, symmetrical from a point from some line, compute the intersection between a circle and whatever point, compute the perpendicular line to a segment, middle point etc. Then plot a polygon obtained by joining transformed points using let's say matplotlib.
Does such a module exist ? I could build it from scratch but having those features would save me much time.
Thank you so much.
You can use sympy for some of these, in particular the geometry module.
Shapely is also pretty popular.
Related
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 need a framework that allows to draw in the window canvas (also put images) similar to GDI. Any suggestions? Should be cross platform.
Python, by default, comes with tkinter for Python 3 and Tkinter for Python 2. You can use the Canvas class to draw geometry and images.
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 want to determine which part of audio file contain speech or music.
I hope someone has a made something like this or can tell me where to start.
Can you please suggest some method/tutorial for doing the same.
Thank you.
Check out the pyAudioAnalysis python library. Among others, it has a pre-trained speech-music classifier and two segmentation-classification methods (one based on fix-sized windows and another based on HMMs).
You can extract speech and music parts of an audio recording quite easily, e.g.:
from pyAudioAnalysis import audioSegmentation as aS
[flagsInd, classesAll, acc] = aS.mtFileClassification("data/scottish.wav", "data/svmSM", "svm", True, 'data/scottish.segments')
with a result as the one in this image
There's lots of prior art in this area, but I'd suggest browsing through some of Dan Ellis's papers. The slides for this talk has some good background. In short it's all down to picking the right feature vectors.
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 7 years ago.
Improve this question
I have a hugh graph structure like wikipedia. I have the adjacency list for the graph as it is very sparse. Is there a open source software to visualize the graph and zoom in and out.
Gephi would be a good solution. It offers many display styles and layouts as well as using OpenGL to render the graph which makes it fast. It can also read a variety of formats and is extensible.
GraphViz is a very well known OSS graphing tool. If you can print your graph in one of its supported formats you should be ready to go.
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 8 years ago.
Improve this question
I need a Diagram Tool with ability to extend set of diagram types and diagram primitives and save them as templates for future use. User-scripted exports or export formats for my diagrams would be nice, too.
For example, I want to make something like this in my game programming:
http://www.bigbluecup.com/yabb/index.php?topic=38322.0
Now I use great UML-only RationalRose-like editor StarUML. It is very comfortable, stable and I like it very much.
I can think of some options:
Ditaa
PGF/TikZ (uses LaTeX)
Graphviz
Dia
Would any of those help you out? TikZ has been my choice for diagrams since I found it. I don't know if there's anything you can't do. Check out the TikZ examples page. Sorry if I totally missed what you're looking for and provided silly suggestions!
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
Do any open source libraries exist for programatically selecting and rating the compatibility of sets of colors using color theory?
It would be very useful to be able to select color palettes based on simple color harmony rules like complimentary, analogous, triadic, and tetradic colors.
I just found this: Harmonies theory and math.
Also of interest is the rest of the EasyRGB site, which will explain how to do RGB to HSV, etc.
While it's not source code, it's the formulas for calculating the values.
Also interesting: "Color Jack"
This isn't a direct answer and it's not open source, but you might take a look at what they are doing at Adobe's Kuler web site. They have API Documentation that might be worth a read.