home.social

#トゥートprocessing — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #トゥートprocessing, aggregated by home.social.

  1. #Processing #Python #py5 #genuary #genuary31 #トゥートProcessing

    # iamkate.com/data/12-bit-rainbo
    palette = (
    '#817', '#a35', '#c66', '#e94',
    '#ed0', '#9d5', '#4d8', '#2cb',
    '#0bc', '#09c', '#36b', '#639'
    )

    def setup():
    size(800, 800)
    no_stroke()
    background(0)

    def draw():
    xc = yc = 400
    for i in range(6):
    m = 1 - abs(cos(radians(frame_count / 2))) ** 5
    r = 150 + 150 * m
    a = radians(frame_count / 2 + 60 * i)
    x = xc + r * cos(a)
    y = yc + r * sin(a)
    fill(palette[i])
    circle(x, y, 150)
    r = 300 - 150 * m
    a = a + radians(30)
    x = xc + r * cos(a)
    y = yc + r * sin(a)
    fill(palette[-1 -i])
    circle(x, y, 150)

  2. #Processing #Python #py5 #genuary #genuary31 #トゥートProcessing

    # iamkate.com/data/12-bit-rainbo
    palette = (
    '#817', '#a35', '#c66', '#e94',
    '#ed0', '#9d5', '#4d8', '#2cb',
    '#0bc', '#09c', '#36b', '#639'
    )

    def setup():
    size(800, 800)
    no_stroke()
    background(0)

    def draw():
    xc = yc = 400
    for i in range(6):
    m = 1 - abs(cos(radians(frame_count / 2))) ** 5
    r = 150 + 150 * m
    a = radians(frame_count / 2 + 60 * i)
    x = xc + r * cos(a)
    y = yc + r * sin(a)
    fill(palette[i])
    circle(x, y, 150)
    r = 300 - 150 * m
    a = a + radians(30)
    x = xc + r * cos(a)
    y = yc + r * sin(a)
    fill(palette[-1 -i])
    circle(x, y, 150)

  3. #Processing #Python #py5 #genuary #genuary31 #トゥートProcessing

    # iamkate.com/data/12-bit-rainbo
    palette = (
    '#817', '#a35', '#c66', '#e94',
    '#ed0', '#9d5', '#4d8', '#2cb',
    '#0bc', '#09c', '#36b', '#639'
    )

    def setup():
    size(800, 800)
    no_stroke()
    background(0)

    def draw():
    xc = yc = 400
    for i in range(6):
    m = 1 - abs(cos(radians(frame_count / 2))) ** 5
    r = 150 + 150 * m
    a = radians(frame_count / 2 + 60 * i)
    x = xc + r * cos(a)
    y = yc + r * sin(a)
    fill(palette[i])
    circle(x, y, 150)
    r = 300 - 150 * m
    a = a + radians(30)
    x = xc + r * cos(a)
    y = yc + r * sin(a)
    fill(palette[-1 -i])
    circle(x, y, 150)

  4. #Processing #Python #py5 #genuary #genuary31 #トゥートProcessing

    # iamkate.com/data/12-bit-rainbo
    palette = (
    '#817', '#a35', '#c66', '#e94',
    '#ed0', '#9d5', '#4d8', '#2cb',
    '#0bc', '#09c', '#36b', '#639'
    )

    def setup():
    size(800, 800)
    no_stroke()
    background(0)

    def draw():
    xc = yc = 400
    for i in range(6):
    m = 1 - abs(cos(radians(frame_count / 2))) ** 5
    r = 150 + 150 * m
    a = radians(frame_count / 2 + 60 * i)
    x = xc + r * cos(a)
    y = yc + r * sin(a)
    fill(palette[i])
    circle(x, y, 150)
    r = 300 - 150 * m
    a = a + radians(30)
    x = xc + r * cos(a)
    y = yc + r * sin(a)
    fill(palette[-1 -i])
    circle(x, y, 150)

  5. #Processing #Python #py5 #genuary #genuary31 #トゥートProcessing

    # iamkate.com/data/12-bit-rainbo
    palette = (
    '#817', '#a35', '#c66', '#e94',
    '#ed0', '#9d5', '#4d8', '#2cb',
    '#0bc', '#09c', '#36b', '#639'
    )

    def setup():
    size(800, 800)
    no_stroke()
    background(0)

    def draw():
    xc = yc = 400
    for i in range(6):
    m = 1 - abs(cos(radians(frame_count / 2))) ** 5
    r = 150 + 150 * m
    a = radians(frame_count / 2 + 60 * i)
    x = xc + r * cos(a)
    y = yc + r * sin(a)
    fill(palette[i])
    circle(x, y, 150)
    r = 300 - 150 * m
    a = a + radians(30)
    x = xc + r * cos(a)
    y = yc + r * sin(a)
    fill(palette[-1 -i])
    circle(x, y, 150)

  6. #Processing #Python #py5 imported mode #genuary #genuary30 #トゥートProcessing
    # Kate Rose Morley's palette
    # iamkate.com/data/12-bit-rainbo

    from itertools import product

    palette = (
    '#817', '#a35', '#c66', '#e94',
    '#ed0', '#9d5', '#4d8', '#2cb',
    '#0bc', '#09c', '#36b', '#639'
    )

    def setup():
    global palavras
    size(800, 800)
    no_loop()
    rect_mode(CENTER)
    no_stroke()

    def draw():
    w = 400
    i = 0
    for x, y in product(range(0, width, w), repeat=2):
    for z in range(3):
    fill(palette[i])
    square(w / 2 + x, w / 2 + y, w / (z / 2 + 1))
    i += 1

  7. #Processing #Python #py5 imported mode #genuary #genuary30 #トゥートProcessing
    # Kate Rose Morley's palette
    # iamkate.com/data/12-bit-rainbo

    from itertools import product

    palette = (
    '#817', '#a35', '#c66', '#e94',
    '#ed0', '#9d5', '#4d8', '#2cb',
    '#0bc', '#09c', '#36b', '#639'
    )

    def setup():
    global palavras
    size(800, 800)
    no_loop()
    rect_mode(CENTER)
    no_stroke()

    def draw():
    w = 400
    i = 0
    for x, y in product(range(0, width, w), repeat=2):
    for z in range(3):
    fill(palette[i])
    square(w / 2 + x, w / 2 + y, w / (z / 2 + 1))
    i += 1

  8. #Processing #Python #py5 imported mode #genuary #genuary30 #トゥートProcessing
    # Kate Rose Morley's palette
    # iamkate.com/data/12-bit-rainbo

    from itertools import product

    palette = (
    '#817', '#a35', '#c66', '#e94',
    '#ed0', '#9d5', '#4d8', '#2cb',
    '#0bc', '#09c', '#36b', '#639'
    )

    def setup():
    global palavras
    size(800, 800)
    no_loop()
    rect_mode(CENTER)
    no_stroke()

    def draw():
    w = 400
    i = 0
    for x, y in product(range(0, width, w), repeat=2):
    for z in range(3):
    fill(palette[i])
    square(w / 2 + x, w / 2 + y, w / (z / 2 + 1))
    i += 1

  9. #Processing #Python #py5 imported mode #genuary #genuary30 #トゥートProcessing
    # Kate Rose Morley's palette
    # iamkate.com/data/12-bit-rainbo

    from itertools import product

    palette = (
    '#817', '#a35', '#c66', '#e94',
    '#ed0', '#9d5', '#4d8', '#2cb',
    '#0bc', '#09c', '#36b', '#639'
    )

    def setup():
    global palavras
    size(800, 800)
    no_loop()
    rect_mode(CENTER)
    no_stroke()

    def draw():
    w = 400
    i = 0
    for x, y in product(range(0, width, w), repeat=2):
    for z in range(3):
    fill(palette[i])
    square(w / 2 + x, w / 2 + y, w / (z / 2 + 1))
    i += 1

  10. #Processing #Python #py5 imported mode #genuary #genuary30 #トゥートProcessing
    # Kate Rose Morley's palette
    # iamkate.com/data/12-bit-rainbo

    from itertools import product

    palette = (
    '#817', '#a35', '#c66', '#e94',
    '#ed0', '#9d5', '#4d8', '#2cb',
    '#0bc', '#09c', '#36b', '#639'
    )

    def setup():
    global palavras
    size(800, 800)
    no_loop()
    rect_mode(CENTER)
    no_stroke()

    def draw():
    w = 400
    i = 0
    for x, y in product(range(0, width, w), repeat=2):
    for z in range(3):
    fill(palette[i])
    square(w / 2 + x, w / 2 + y, w / (z / 2 + 1))
    i += 1