Wolfram Alpha’s New Data about Pokémon
blog.wolframalpha.com
Wolfram Alpha’s New Data about Pokémon
1–10 of 61 posts
Re: Wolfram Alpha’s New Data about Pokémon
#2Re: Wolfram Alpha’s New Data about Pokémon
#3Re: Wolfram Alpha’s New Data about Pokémon
#4How would one generate this equation from an image? http://www.wolframalpha.com/input/?i=snorlax+plane+curve
Re: Wolfram Alpha’s New Data about Pokémon
#5Re: Wolfram Alpha’s New Data about Pokémon
#6Re: Wolfram Alpha’s New Data about Pokémon
#7But what i really like, is to match stuff like protein in bananas vs spinach to know what i'm going to (prefer to) eat soon ^^..
So, thanks!
Re: Wolfram Alpha’s New Data about Pokémon
#8How would one generate this equation from an image? http://www.wolframalpha.com/input/?i=snorlax+plane+curve
-Vectorize the image into a set of bezier curves that have endpoints at intersections
-Walk the bezier curves so that the entire image can be represented by a single "strip" of piecewise bezier sections. If there's any overlapping sections from having to rewalk the a curve, maybe apply some offsets/small modifications to those curves to give it a "sketched" look.
-Rasterize the bezier curves in order at your desired resolution into a list of XY coordinates. Make sure the XY coordinates remain in order they were rasterized.
-Split the coordinates of each rasterized pixel so that you have two lists, (t, x) and (t, y), where t is the index of the rasterized pixel. Now you can represent the X and Y coordinates of your sketch on two coordinate planes as a function of t.
-For each coordinate plane X and Y, record the index where the second derivative of the rasterized graph changes. What this does is lets you distinguish subcurves on the line. For this to work it's probably important that the rasterization was done at a relatively high resolution.
-For each subcurve, generate an extremely low frequency trigonometric function that can represent that subcurve. Ideally outside of that subcurve, the trig function should be at or very near zero. This might require layering some additional trig functions in order to eliminate any noise.
-With the trig functions generated, return the results as a parametric function.
Re: Wolfram Alpha’s New Data about Pokémon
#9That's... cool I guess? There are a bunch of other sites that already do this though. Serebii, bulbabedia, veekun, pokemondb .etc
Re: Wolfram Alpha’s New Data about Pokémon
#10Always liked WolframAlpha, this is also awesome. But what i really like, is to match stuff like protein in bananas vs spinach to know what i'm going to (prefer to) eat soon ^^.. So, thanks!