Computer Art Generators

Home Forums Where The Children Play Geek Talk Computer Art Generators

This topic contains 3 replies, has 2 voices, and was last updated by  Meticulac 7 months ago.

Computer Art Generators

  • Meticulac
    Participant

    Here’s some things made for generating audio, and in the case of IBNIZ video, from very simple code!
    http://canonical.org/~kragen/bytebeat/
    http://pelulamu.net/ibniz/
    I’ve had some fun making some simple things in them, and figured I’d share some those here.

    
    left:(sin(t/40 * ((t>>12|t>>8)&63&(t>>4^Math.log(t))))+1)*100
    right:(cos(t/60 * ((t>>12|t>>8)&63&(t>>4^Math.log(t))))+1)*100
    
    \#file C:\Users\Matthew\small programs\IBNIZ\neonpole.ib
    d>?q:x~;d++swxpxp0.02->?x85+x;|
    M
    d3r31|7&63&q*
    w
    256%)q|s
    
    \ made in IBNIZ version 1.1800
    \
    \ press F12 for help
    
    \#file C:\Users\Matthew\small programs\IBNIZ\sound_effects.ib
    qdd*qqs-dd*qqs/ds-

    (1+sin((Math.sqrt(t*(2+sin(t/10000)/4))&((t>>8)/Math.log(t)))*t/20))*100

  • Meticulac
    Participant

    Oh hey, in addition to making my own bytebeat programs, I’ve also tried making grammar-based generators that produce their own code! There were some attempts I made with another generator before, but I don’t have the links or generator files handy right now. Just since my last post, though, I’ve tried using Tracery ( http://tracery.io/ ) and made a rudimentary system capable of making some simple demo programs.

    {
    "origin":["#program#"],
    "program":["#instrument#",
    "#instrument#2/w#instrument#2/+"],
    "instrument":["#notemaker#w#simple#*s"],
    "notemaker":["#number#r#number#&"],
    "simple":["#constant##ARITH#"],
    "constant":["#number#","#number#.#number#"],
    "number":["#HEX#",
    "#HEX##HEX#",
    "#HEX##HEX##HEX#",
    "#HEX##HEX##HEX##HEX#"],
    "HEX":["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"],
    "ARITH":["+","-","*","/","%"]
    }

    I’ll try to write up something capable of generating cooler stuff, though before I really get into that, I’ll want to push my own coding ability some, so as to have more interesting rules to encode in generator form.

  • Have you looked at Sonic Pi at all? It’s pretty interesting what can be done with it.

  • Meticulac
    Participant

    Oh, neat! I tried it once years ago on a Kano, but for some reason it wasn’t running very well. Loading it up on my desktop now, it’s doing very nicely, so I’ll let you all know what I make in it after a while.

You must be logged in to reply to this topic.