2.00
2 comments
Created by mumble 1 week, 1 day ago
[ 2.00 | 0.00 ] [#2156]

OK. So my last post on this was a complete fail, but I'm not giving up yet. I completely re-implemented my idea, and it is now a stand-alone python script. Hopefully this will make the code more digestible.

The idea is simple enough. Learn a bunch of "curves", and then when you input a fragment of a curve predict which one it belongs to. The hypothesis is that the brain is doing something similar. For example, say you start spelling out a word: 'f', 'fr', 'fro', ... With just an f it could be any word with an f in it. Then 'fr' narrows it down a little. Then 'fro' narrows it down further. In my brain to 'frog', or 'from' or etc. But it applies to floats and integers too. Say you start with 3. This could belong to any sequence/curve right? But what if the next symbol is '.'. And the next is 1. Suddenly you would predict Pi: 3.1415.... Now what about floats? An example I like is playing football. Someone kicks the ball a long way, and your brain is trying to predict where it will fall so you can catch it. The hypothesis is that you have seen the football fall so many times that you have a big collection of stored sequences of falling football positions. As it falls, the number of matching predictions shrinks, until you know enough to get in the right position and catch the thing. It certainly seems more plausible the brain is doing this than solving some physics equation.

Anyway, the point is my code does something similar to this. Now on to examples.
Here is the data we learn:

Pi = ['Pi', 3, '.', 1, 4, 1, 5, 9, 2, 6, 5, 3, 5, 8, 9]
e = ['e', 2, '.', 7, 1, 8, 2, 8, 1, 8, 2, 8, 4]
boys = ['boy sentence', 'boys', 'eat', 'many', 'cakes']
girls = ['girl sentence', 'girls', 'eat', 'many', 'pies']

Now put it to the test. Let's start with 3:

$ ./float-sequence.py 3
input sequence: [3.0]
Pi  1.0     3 . 1 4 1 5 9 2 6 5 3 5 8 9
Pi  1.0     3 5 8 9
Pi  0.083   4 1 5 9 2 6 5 3 5 8 9
e   0.083   4
Pi  0.083   2 6 5 3 5 8 9
e   0.083   2 . 7 1 8 2 8 1 8 2 8 4
e   0.083   2 8 1 8 2 8 4
e   0.083   2 8 4
Pi  0.0003  1 4 1 5 9 2 6 5 3 5 8 9
Pi  0.0003  1 5 9 2 6 5 3 5 8 9
e   0.0003  1 8 2 8 1 8 2 8 4
e   0.0003  1 8 2 8 4
Pi  0.0003  5 9 2 6 5 3 5 8 9
Pi  0.0003  5 3 5 8 9
Pi  0.0003  5 8 9

Where the first column is the name of the predicted sequence, the second is the similarity, and the third is the predicted sequences. In this case Pi looks like the most probable, but e is in there too.

This time with 2:

$ ./float-sequence.py 2
input sequence: [2.0]
Pi  1.0     2 6 5 3 5 8 9
e   1.0     2 . 7 1 8 2 8 1 8 2 8 4
e   1.0     2 8 1 8 2 8 4
e   1.0     2 8 4
Pi  0.083   1 4 1 5 9 2 6 5 3 5 8 9
Pi  0.083   1 5 9 2 6 5 3 5 8 9
e   0.083   1 8 2 8 1 8 2 8 4
e   0.083   1 8 2 8 4
Pi  0.083   3 . 1 4 1 5 9 2 6 5 3 5 8 9
Pi  0.083   3 5 8 9
Pi  0.0003  4 1 5 9 2 6 5 3 5 8 9
e   0.0003  4

This time with 3.3 4.7:

$ ./float-sequence.py 3.3 4.7
input sequence: [3.3, 4.7]
Pi  0.5976  3 5 8 9
Pi  0.022   2 6 5 3 5 8 9
Pi  0.0026  5 3 5 8 9

One more digit, and we converge on a single prediction:

$ ./float-sequence.py 3.3 4.7 7.2
input sequence: [3.3, 4.7, 7.2]
Pi  0.1656  3 5 8 9

And that's it. Just a simple toy, with the properties I was looking for. Code here.

The next step is to learn and name sequences of shapes. Say you have a sequence of floats that looks like a triangle, a sine curve, a rectangle, a flat line, and so on. Then input some random curve, and have the code spit out the sequence of names. The point is just to learn and name sequences, with tolerance for noise, with the assumption the brain does something similar.


[ Reply ]

0.00
Created by mumble 1 week ago
[ 0.00 | 0.00 ] [#10481]

How about a more interesting version? This time my curves look more like real curves, rather than a sequence of integers. But identically same code. So what curves? A flat line, a square, a triangle, and a sine curve. Pretty picture of these (stuffed side by side so they are on one graph):

Here is our data in float-sequence.py:

# define our named-lists:
# first element is treated as sequence name
# the sequences may contain int's, float's or strings, including a mixture.
Pi = ['Pi', 3, '.', 1, 4, 1, 5, 9, 2, 6, 5, 3, 5, 8, 9]
e = ['e', 2, '.', 7, 1, 8, 2, 8, 1, 8, 2, 8, 4]
boys = ['boy sentence', 'boys', 'eat', 'many', 'cakes']
girls = ['girl sentence', 'girls', 'eat', 'many', 'pies']

zero = ['zero', 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
square = ['square', 0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0]
triangle = ['triangle', 0.0,0.08,0.16,0.24,0.32,0.4,0.48,0.56,0.64,0.72,0.8,0.88,0.96,1.04,0.92,0.84,0.76,0.68,0.6,0.52,0.44,0.36,0.28,0.2,0.12,0.04]
sin = ['sin', 0.0,0.1,0.199,0.296,0.389,0.479,0.565,0.644,0.717,0.783,0.841,0.891,0.932,0.964,0.985,0.997,1.0,
0.992,0.974,0.946,0.909,0.863,0.808,0.746,0.675,0.598,0.516,0.427,0.335,0.239,0.141,0.042,-0.058,-0.158,-0.256,
-0.351,-0.443,-0.53,-0.612,-0.688,-0.757,-0.818,-0.872,-0.916,-0.952,-0.978,-0.994,-1.0,-0.996,-0.982,-0.959,
-0.926,-0.883,-0.832,-0.773,-0.706,-0.631,-0.551,-0.465,-0.374,-0.279,-0.182,-0.083]


# define our collection of named-lists:
data = [Pi, e, boys, girls, zero, square, triangle, sin]

Now some examples:
Let's say you input a single 0:

$ ./float-sequence.py 0
input sequence: [0.0]
zero      1       0 0 0 0 0 0
zero      1       0 0 0 0 0 0
zero      1       0 0 0 0 0 0
zero      1       0 0 0 0 0 0
zero      1       0 0 0 0 0 0
zero      1       0 0 0 0 0 0
zero      1       0 0 0 0 0 0
zero      1       0 0 0 0 0 0
zero      1       0 0 0 0 0 0
zero      1       0 0 0 0 0 0
zero      1       0 0 0 0 0 0
zero      1       0 0 0 0 0 0
zero      1       0 0 0 0 0 0
zero      1       0 0 0 0 0 0
zero      1       0 0 0 0 0 0
zero      1       0 0 0 0 0
zero      1       0 0 0 0
zero      1       0 0 0
zero      1       0 0
zero      1       0
square    1       0 1 1 1 1 1
square    1       0
triangle  1       0.0 0.08 0.16 0.24 0.32 0.4
sin       1       0.0 0.1 0.199 0.296 0.389 0.479
triangle  0.8603  0.08 0.16 0.24 0.32 0.4 0.48
sin       0.8603  0.1 0.199 0.296 0.389 0.479 0.565
triangle  0.86    0.04
sin       0.86    0.042 -0.058 -0.158 -0.256 -0.351 -0.443
triangle  0.729   0.12 0.04
sin       0.729   0.199 0.296 0.389 0.479 0.565 0.644
sin       0.729   0.141 0.042 -0.058 -0.158 -0.256 -0.351
triangle  0.729   0.16 0.24 0.32 0.4 0.48 0.56
triangle  0.729   0.2 0.12 0.04
sin       0.7287  -0.058 -0.158 -0.256 -0.351 -0.443 -0.53
sin       0.7287  -0.083
triangle  0.6197  0.24 0.32 0.4 0.48 0.56 0.64
sin       0.6197  0.239 0.141 0.042 -0.058 -0.158 -0.256
sin       0.6194  -0.158 -0.256 -0.351 -0.443 -0.53 -0.612
sin       0.6194  -0.182 -0.083
sin       0.5976  0.296 0.389 0.479 0.565 0.644 0.717
triangle  0.5976  0.28 0.2 0.12 0.04
triangle  0.5171  0.32 0.4 0.48 0.56 0.64 0.72
sin       0.5171  0.335 0.239 0.141 0.042 -0.058 -0.158
sin       0.5168  -0.256 -0.351 -0.443 -0.53 -0.612 -0.688
sin       0.5168  -0.279 -0.182 -0.083
triangle  0.4883  0.4 0.48 0.56 0.64 0.72 0.8
triangle  0.4883  0.36 0.28 0.2 0.12 0.04
sin       0.4883  0.389 0.479 0.565 0.644 0.717 0.783
sin       0.488   -0.443 -0.53 -0.612 -0.688 -0.757 -0.818
sin       0.4359  0.427 0.335 0.239 0.141 0.042 -0.058
triangle  0.4359  0.44 0.36 0.28 0.2 0.12 0.04
sin       0.4356  -0.374 -0.279 -0.182 -0.083
sin       0.4356  -0.351 -0.443 -0.53 -0.612 -0.688 -0.757
triangle  0.379   0.48 0.56 0.64 0.72 0.8 0.88
sin       0.379   0.479 0.565 0.644 0.717 0.783 0.841
sin       0.3787  -0.53 -0.612 -0.688 -0.757 -0.818 -0.872
triangle  0.3488  0.52 0.44 0.36 0.28 0.2 0.12
sin       0.3488  0.516 0.427 0.335 0.239 0.141 0.042
sin       0.3485  -0.465 -0.374 -0.279 -0.182 -0.083
triangle  0.2985  0.6 0.52 0.44 0.36 0.28 0.2
triangle  0.2985  0.56 0.64 0.72 0.8 0.88 0.96
sin       0.2985  0.565 0.644 0.717 0.783 0.841 0.891
sin       0.2985  0.598 0.516 0.427 0.335 0.239 0.141
sin       0.2982  -0.612 -0.688 -0.757 -0.818 -0.872 -0.916
sin       0.2982  -0.631 -0.551 -0.465 -0.374 -0.279 -0.182
triangle  0.2831  0.64 0.72 0.8 0.88 0.96 1.04
sin       0.2831  0.644 0.717 0.783 0.841 0.891 0.932
sin       0.2828  -0.551 -0.465 -0.374 -0.279 -0.182 -0.083
triangle  0.218   0.68 0.6 0.52 0.44 0.36 0.28
sin       0.218   0.675 0.598 0.516 0.427 0.335 0.239
sin       0.2177  -0.706 -0.631 -0.551 -0.465 -0.374 -0.279
triangle  0.2111  0.72 0.8 0.88 0.96 1.04 0.92
sin       0.2111  0.717 0.783 0.841 0.891 0.932 0.964
sin       0.2111  0.746 0.675 0.598 0.516 0.427 0.335
sin       0.2108  -0.688 -0.757 -0.818 -0.872 -0.916 -0.952
triangle  0.1656  0.76 0.68 0.6 0.52 0.44 0.36
sin       0.1656  0.783 0.841 0.891 0.932 0.964 0.985
sin       0.1653  -0.818 -0.872 -0.916 -0.952 -0.978 -0.994
sin       0.1653  -0.832 -0.773 -0.706 -0.631 -0.551 -0.465
triangle  0.1628  0.8 0.88 0.96 1.04 0.92 0.84
triangle  0.1628  0.84 0.76 0.68 0.6 0.52 0.44
sin       0.1628  0.841 0.891 0.932 0.964 0.985 0.997
sin       0.1628  0.808 0.746 0.675 0.598 0.516 0.427
sin       0.1625  -0.757 -0.818 -0.872 -0.916 -0.952 -0.978
sin       0.1625  -0.773 -0.706 -0.631 -0.551 -0.465 -0.374
triangle  0.1132  0.88 0.96 1.04 0.92 0.84 0.76
sin       0.1132  0.891 0.932 0.964 0.985 0.997 1.0
sin       0.1132  0.863 0.808 0.746 0.675 0.598 0.516
sin       0.1129  -0.926 -0.883 -0.832 -0.773 -0.706 -0.631
sin       0.1129  -0.916 -0.952 -0.978 -0.994 -1.0 -0.996
triangle  0.1122  0.92 0.84 0.76 0.68 0.6 0.52
sin       0.1122  0.932 0.964 0.985 0.997 1.0 0.992
sin       0.1122  0.946 0.909 0.863 0.808 0.746 0.675
sin       0.1122  0.909 0.863 0.808 0.746 0.675 0.598
sin       0.1119  -0.883 -0.832 -0.773 -0.706 -0.631 -0.551
sin       0.1119  -0.872 -0.916 -0.952 -0.978 -0.994 -1.0
triangle  0.083   0.96 1.04 0.92 0.84 0.76 0.68
sin       0.083   0.964 0.985 0.997 1.0 0.992 0.974
sin       0.083   0.985 0.997 1.0 0.992 0.974 0.946
sin       0.083   0.997 1.0 0.992 0.974 0.946 0.909
sin       0.083   0.992 0.974 0.946 0.909 0.863 0.808
sin       0.083   0.974 0.946 0.909 0.863 0.808 0.746
triangle  0.0827  1.04 0.92 0.84 0.76 0.68 0.6
Pi        0.0824  1 4 1 5 9 2
Pi        0.0824  1 5 9 2 6 5
e         0.0824  1 8 2 8 1 8
e         0.0824  1 8 2 8 4
square    0.0824  1 1 1 1 1 1
square    0.0824  1 1 1 1 1 1
square    0.0824  1 1 1 1 1 1
square    0.0824  1 1 1 1 1 1
square    0.0824  1 1 1 1 1 1
square    0.0824  1 1 1 1 1 1
square    0.0824  1 1 1 1 1 1
square    0.0824  1 1 1 1 1 1
square    0.0824  1 1 1 1 1 1
square    0.0824  1 1 1 1 1 1
square    0.0824  1 1 1 1 1 1
square    0.0824  1 1 1 1 1 1
square    0.0824  1 1 1 1 1 1
square    0.0824  1 1 1 1 1 1
square    0.0824  1 1 1 1 1 1
square    0.0824  1 1 1 1 1 0
square    0.0824  1 1 1 1 0
square    0.0824  1 1 1 0
square    0.0824  1 1 0
square    0.0824  1 0
sin       0.0824  1.0 0.992 0.974 0.946 0.909 0.863
sin       0.0824  -0.959 -0.926 -0.883 -0.832 -0.773 -0.706
sin       0.0824  -0.952 -0.978 -0.994 -1.0 -0.996 -0.982
sin       0.0824  -0.978 -0.994 -1.0 -0.996 -0.982 -0.959
sin       0.0824  -0.994 -1.0 -0.996 -0.982 -0.959 -0.926
sin       0.0824  -1.0 -0.996 -0.982 -0.959 -0.926 -0.883
sin       0.0824  -0.996 -0.982 -0.959 -0.926 -0.883 -0.832
sin       0.0824  -0.982 -0.959 -0.926 -0.883 -0.832 -0.773

Or say you input 1 1 1 1 1 1 1 1 1:

$ ./float-sequence.py 1 1 1 1 1 1 1 1 1
input sequence: [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
square    1.0     1 1 1 1 1 1
square    1.0     1 1 1 1 1 1
square    1.0     1 1 1 1 1 1
square    1.0     1 1 1 1 1 1
square    1.0     1 1 1 1 1 1
square    1.0     1 1 1 1 1 1
square    1.0     1 1 1 1 1 1
square    1.0     1 1 1 1 1 1
square    1.0     1 1 1 1 1 1
square    1.0     1 1 1 1 1 1
square    1.0     1 1 1 1 1 1
square    1.0     1 1 1 1 1 1
sin       0.7287  0.964 0.985 0.997 1.0 0.992 0.974
sin       0.7287  0.891 0.932 0.964 0.985 0.997 1.0
sin       0.7287  0.932 0.964 0.985 0.997 1.0 0.992
sin       0.6194  0.985 0.997 1.0 0.992 0.974 0.946
sin       0.6194  0.841 0.891 0.932 0.964 0.985 0.997
sin       0.6194  0.783 0.841 0.891 0.932 0.964 0.985
sin       0.5168  1.0 0.992 0.974 0.946 0.909 0.863
sin       0.5168  0.997 1.0 0.992 0.974 0.946 0.909
triangle  0.5168  0.72 0.8 0.88 0.96 1.04 0.92
sin       0.5168  0.717 0.783 0.841 0.891 0.932 0.964
sin       0.4356  0.992 0.974 0.946 0.909 0.863 0.808
triangle  0.4356  0.8 0.88 0.96 1.04 0.92 0.84
triangle  0.4356  0.56 0.64 0.72 0.8 0.88 0.96
triangle  0.4356  0.64 0.72 0.8 0.88 0.96 1.04
sin       0.4356  0.565 0.644 0.717 0.783 0.841 0.891
sin       0.4356  0.644 0.717 0.783 0.841 0.891 0.932
sin       0.3485  0.479 0.565 0.644 0.717 0.783 0.841
triangle  0.3485  0.88 0.96 1.04 0.92 0.84 0.76
triangle  0.3485  0.48 0.56 0.64 0.72 0.8 0.88
sin       0.3485  0.974 0.946 0.909 0.863 0.808 0.746
triangle  0.2828  0.96 1.04 0.92 0.84 0.76 0.68
triangle  0.2828  1.04 0.92 0.84 0.76 0.68 0.6
triangle  0.2828  0.4 0.48 0.56 0.64 0.72 0.8
sin       0.2828  0.946 0.909 0.863 0.808 0.746 0.675
sin       0.2828  0.389 0.479 0.565 0.644 0.717 0.783
sin       0.2108  0.909 0.863 0.808 0.746 0.675 0.598
triangle  0.2108  0.92 0.84 0.76 0.68 0.6 0.52
triangle  0.2108  0.32 0.4 0.48 0.56 0.64 0.72
sin       0.2108  0.296 0.389 0.479 0.565 0.644 0.717
triangle  0.1625  0.84 0.76 0.68 0.6 0.52 0.44
triangle  0.1625  0.16 0.24 0.32 0.4 0.48 0.56
triangle  0.1625  0.24 0.32 0.4 0.48 0.56 0.64
sin       0.1625  0.863 0.808 0.746 0.675 0.598 0.516
sin       0.1625  0.199 0.296 0.389 0.479 0.565 0.644
triangle  0.1119  0.08 0.16 0.24 0.32 0.4 0.48
triangle  0.1119  0.76 0.68 0.6 0.52 0.44 0.36
sin       0.1119  0.808 0.746 0.675 0.598 0.516 0.427
sin       0.1119  0.1 0.199 0.296 0.389 0.479 0.565
zero      0.0824  0 0 0 0 0 0
zero      0.0824  0 0 0 0 0 0
zero      0.0824  0 0 0 0 0 0
zero      0.0824  0 0 0 0 0 0
zero      0.0824  0 0 0 0 0 0
zero      0.0824  0 0 0 0 0 0
zero      0.0824  0 0 0 0 0 0
zero      0.0824  0 0 0 0 0 0
zero      0.0824  0 0 0 0 0 0
zero      0.0824  0 0 0 0 0 0
zero      0.0824  0 0 0 0 0 0
zero      0.0824  0 0 0 0 0 0
square    0.0824  1 1 1 1 1 1
square    0.0824  0 1 1 1 1 1
triangle  0.0824  0.68 0.6 0.52 0.44 0.36 0.28
triangle  0.0824  0.0 0.08 0.16 0.24 0.32 0.4
sin       0.0824  0.746 0.675 0.598 0.516 0.427 0.335
sin       0.0824  0.0 0.1 0.199 0.296 0.389 0.479
sin       0.0525  0.675 0.598 0.516 0.427 0.335 0.239
sin       0.0371  0.598 0.516 0.427 0.335 0.239 0.141
sin       0.0217  0.516 0.427 0.335 0.239 0.141 0.042
sin       0.0147  0.427 0.335 0.239 0.141 0.042 -0.058
sin       0.0147  0.335 0.239 0.141 0.042 -0.058 -0.158
sin       0.0078  0.239 0.141 0.042 -0.058 -0.158 -0.256
sin       0.005   0.141 0.042 -0.058 -0.158 -0.256 -0.351
sin       0.0023  0.042 -0.058 -0.158 -0.256 -0.351 -0.443
sin       0.0013  -0.058 -0.158 -0.256 -0.351 -0.443 -0.53
sin       0.0013  -0.158 -0.256 -0.351 -0.443 -0.53 -0.612
sin       0.0013  -0.773 -0.706 -0.631 -0.551 -0.465 -0.374
sin       0.0013  -0.832 -0.773 -0.706 -0.631 -0.551 -0.465
sin       0.0003  -0.256 -0.351 -0.443 -0.53 -0.612 -0.688
sin       0.0003  -0.351 -0.443 -0.53 -0.612 -0.688 -0.757
sin       0.0003  -0.926 -0.883 -0.832 -0.773 -0.706 -0.631
sin       0.0003  -0.883 -0.832 -0.773 -0.706 -0.631 -0.551

Or you input 0.5 0.5 0.5 0.6 0.7 0.8

$ ./float-sequence.py 0.5 0.5 0.5 0.6 0.7 0.8
input sequence: [0.5, 0.5, 0.5, 0.6, 0.7, 0.8]
triangle  0.8603  0.4 0.48 0.56 0.64 0.72 0.8
sin       0.8603  0.389 0.479 0.565 0.644 0.717 0.783
triangle  0.7771  0.48 0.56 0.64 0.72 0.8 0.88
sin       0.7771  0.479 0.565 0.644 0.717 0.783 0.841
sin       0.729   0.296 0.389 0.479 0.565 0.644 0.717
sin       0.722   0.565 0.644 0.717 0.783 0.841 0.891
triangle  0.6988  0.32 0.4 0.48 0.56 0.64 0.72
triangle  0.6475  0.56 0.64 0.72 0.8 0.88 0.96
sin       0.5976  0.644 0.717 0.783 0.841 0.891 0.932
sin       0.5976  0.199 0.296 0.389 0.479 0.565 0.644
sin       0.5948  0.717 0.783 0.841 0.891 0.932 0.964
triangle  0.5674  0.16 0.24 0.32 0.4 0.48 0.56
triangle  0.5674  0.24 0.32 0.4 0.48 0.56 0.64
triangle  0.5168  0.64 0.72 0.8 0.88 0.96 1.04
triangle  0.4883  0.84 0.76 0.68 0.6 0.52 0.44
triangle  0.4883  0.72 0.8 0.88 0.96 1.04 0.92
sin       0.4883  0.783 0.841 0.891 0.932 0.964 0.985
sin       0.4883  0.863 0.808 0.746 0.675 0.598 0.516
sin       0.4883  0.808 0.746 0.675 0.598 0.516 0.427
triangle  0.4883  0.08 0.16 0.24 0.32 0.4 0.48
sin       0.4883  0.1 0.199 0.296 0.389 0.479 0.565
triangle  0.4873  0.92 0.84 0.76 0.68 0.6 0.52
sin       0.4873  0.841 0.891 0.932 0.964 0.985 0.997
sin       0.4873  0.946 0.909 0.863 0.808 0.746 0.675
sin       0.4873  0.909 0.863 0.808 0.746 0.675 0.598
triangle  0.4855  0.76 0.68 0.6 0.52 0.44 0.36
sin       0.379   0.746 0.675 0.598 0.516 0.427 0.335
triangle  0.379   0.8 0.88 0.96 1.04 0.92 0.84
sin       0.379   0.891 0.932 0.964 0.985 0.997 1.0
sin       0.379   0.932 0.964 0.985 0.997 1.0 0.992
sin       0.379   0.964 0.985 0.997 1.0 0.992 0.974
sin       0.379   0.992 0.974 0.946 0.909 0.863 0.808
sin       0.379   0.974 0.946 0.909 0.863 0.808 0.746
triangle  0.379   0.0 0.08 0.16 0.24 0.32 0.4
sin       0.379   0.0 0.1 0.199 0.296 0.389 0.479
triangle  0.3787  0.88 0.96 1.04 0.92 0.84 0.76
triangle  0.3787  0.96 1.04 0.92 0.84 0.76 0.68
triangle  0.3787  1.04 0.92 0.84 0.76 0.68 0.6
triangle  0.3762  0.68 0.6 0.52 0.44 0.36 0.28
square    0.3485  0 1 1 1 1 1
square    0.3485  1 1 1 1 1 1
square    0.3485  1 1 1 1 1 1
square    0.3485  1 1 1 1 1 1
square    0.3485  1 1 1 1 1 1
square    0.3485  1 1 1 1 1 1
square    0.3485  1 1 1 1 1 1
square    0.3485  1 1 1 1 1 1
square    0.3485  1 1 1 1 1 1
square    0.3485  1 1 1 1 1 1
square    0.3485  1 1 1 1 1 1
square    0.3485  1 1 1 1 1 1
square    0.3485  1 1 1 1 1 1
square    0.3485  1 1 1 1 1 1
square    0.3485  1 1 1 1 1 1
square    0.3485  1 1 1 1 1 1
sin       0.3485  0.985 0.997 1.0 0.992 0.974 0.946
sin       0.3485  0.997 1.0 0.992 0.974 0.946 0.909
sin       0.3485  1.0 0.992 0.974 0.946 0.909 0.863
sin       0.2985  0.675 0.598 0.516 0.427 0.335 0.239
triangle  0.2957  0.6 0.52 0.44 0.36 0.28 0.2
triangle  0.218   0.52 0.44 0.36 0.28 0.2 0.12
sin       0.218   0.598 0.516 0.427 0.335 0.239 0.141
triangle  0.1656  0.44 0.36 0.28 0.2 0.12 0.04
sin       0.1656  0.516 0.427 0.335 0.239 0.141 0.042
zero      0.1628  0 0 0 0 0 0
zero      0.1628  0 0 0 0 0 0
zero      0.1628  0 0 0 0 0 0
zero      0.1628  0 0 0 0 0 0
zero      0.1628  0 0 0 0 0 0
zero      0.1628  0 0 0 0 0 0
zero      0.1628  0 0 0 0 0 0
zero      0.1628  0 0 0 0 0 0
zero      0.1628  0 0 0 0 0 0
zero      0.1628  0 0 0 0 0 0
zero      0.1628  0 0 0 0 0 0
zero      0.1628  0 0 0 0 0 0
zero      0.1628  0 0 0 0 0 0
zero      0.1628  0 0 0 0 0 0
zero      0.1628  0 0 0 0 0 0
square    0.1628  1 1 1 1 1 0
sin       0.1132  0.427 0.335 0.239 0.141 0.042 -0.058
sin       0.083   0.335 0.239 0.141 0.042 -0.058 -0.158
sin       0.0528  0.239 0.141 0.042 -0.058 -0.158 -0.256
sin       0.0374  -0.631 -0.551 -0.465 -0.374 -0.279 -0.182
sin       0.0374  -0.551 -0.465 -0.374 -0.279 -0.182 -0.083
sin       0.0374  0.141 0.042 -0.058 -0.158 -0.256 -0.351
sin       0.0374  -0.706 -0.631 -0.551 -0.465 -0.374 -0.279
sin       0.0346  0.042 -0.058 -0.158 -0.256 -0.351 -0.443
sin       0.0192  -0.773 -0.706 -0.631 -0.551 -0.465 -0.374
sin       0.0192  -0.058 -0.158 -0.256 -0.351 -0.443 -0.53
sin       0.0151  -0.832 -0.773 -0.706 -0.631 -0.551 -0.465
sin       0.0141  -0.883 -0.832 -0.773 -0.706 -0.631 -0.551
sin       0.0123  -0.158 -0.256 -0.351 -0.443 -0.53 -0.612
sin       0.0081  -0.256 -0.351 -0.443 -0.53 -0.612 -0.688
sin       0.0081  -0.926 -0.883 -0.832 -0.773 -0.706 -0.631
sin       0.0053  -0.351 -0.443 -0.53 -0.612 -0.688 -0.757
sin       0.0053  -0.982 -0.959 -0.926 -0.883 -0.832 -0.773
sin       0.0053  -0.959 -0.926 -0.883 -0.832 -0.773 -0.706
sin       0.0026  -0.443 -0.53 -0.612 -0.688 -0.757 -0.818
sin       0.0026  -1.0 -0.996 -0.982 -0.959 -0.926 -0.883
sin       0.0026  -0.53 -0.612 -0.688 -0.757 -0.818 -0.872
sin       0.0026  -0.996 -0.982 -0.959 -0.926 -0.883 -0.832
sin       0.0016  -0.612 -0.688 -0.757 -0.818 -0.872 -0.916
sin       0.0016  -0.994 -1.0 -0.996 -0.982 -0.959 -0.926
sin       0.0016  -0.978 -0.994 -1.0 -0.996 -0.982 -0.959
sin       0.0016  -0.688 -0.757 -0.818 -0.872 -0.916 -0.952
sin       0.0016  -0.818 -0.872 -0.916 -0.952 -0.978 -0.994
sin       0.0016  -0.757 -0.818 -0.872 -0.916 -0.952 -0.978
sin       0.0016  -0.916 -0.952 -0.978 -0.994 -1.0 -0.996
sin       0.0016  -0.872 -0.916 -0.952 -0.978 -0.994 -1.0
sin       0.0016  -0.952 -0.978 -0.994 -1.0 -0.996 -0.982

See, now we are using almost real curves, isn't it more interesting?
Code here.


[ Parent | Reply ]


0.00
Created by United_Fools 1 week, 1 day ago
[ 0.00 | 0.00 ] [#10459]

this is deep... but please stay at a safe distance from the deep end


[ Parent | Reply ]