Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Hanns Holger Rutz
    @Sciss
    ~stream = 3;
    10.collect { | i | ~stream.next(i * 100) }
    [ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 ]
        val stream = Iterator.continually(3)
        Seq.fill(10)(stream.next)
    r = Routine ({ | in |  loop { in = yield(in) } });
    10.collect { | i | r.next(i * 100) }
    [ 0, 100, 200, 300, 400, 500, 600, 700, 800, 900 ]
        val r: Int => Int = identity
        Seq.tabulate(10)(r)
    r = Routine ({ | in |  (1..10).do { | i | in = yield(i + in) } });
    10.collect { | i | r.next(i * 100) }
    [ 1, 102, 203, 304, 405, 506, 607, 708, 809, 910 ]
        val x = 1 to 10
        val y = Seq.tabulate(10)(i => i * 100)
        (x zip y).map { case (i, j) => i + j }
    Hanns Holger Rutz
    @Sciss
    After lots of evolution, 0.2.0 of Patterns is now part of newly released Mellite 2.22.0 - short tutorial: https://vimeo.com/album/4473871/video/267466035