I've written the standard version of a tree map (a graphic that shows nested data) and I'm looking to improve on this layout by switching to different types of polygons or perhaps circles. Can anyone see a way to adapt this code in the style of a Voronoi diagram or otherwise?
Here is the cod...
I have two sets of 3D points, say
a = RandomReal[1, {10, 3}];
b = RandomReal[1, {10, 3}];
I wanna find the first N pairs that have shortest distance between the two sets, my current approach is to form a NearestFunction from the first list and map it to the second(say, N=3):
f = Nearest[a];
c...
@GustavoBandeira I don't think it's a property of the language as much as how the program is written. I usually find that there's a risk of overdoing function composition, but procedural code (which I normally avoid) can suffer from the opposite problem.
@GustavoBandeira I am not criticizing exactly; it is just hard to understand unless you've just written it yourself. Compare with whuber's version, for instance.
1. Superposition
In order to be able to superimpose two Sound objects, there ought to be a common time origin. A simple SoundNote object has its own time origin and hence using Sound on a list of these will only concatenate them and plays them in serial. You will have to use absolute times for e...
He says that MIDI does not allow the transmission of pedaling.
I'm pretty sure that MIDI can transmit pedalling information. It transmits it through CC #64, I just don't know how are you going to implement this on Mathematica. Source, Also, yoda's comment on MIDI is VERY incomplete - yoda, are you refering to the MIDI protocol or to MIDI on Mathematica? — Gustavo Bandeira7 secs ago