wednesdayayay / Scrawl

standalone Raspberry Pi shape generator/positioner/painter
GNU General Public License v3.0
50 stars 2 forks source link

Scrawl

Update to version 1.2 changes /// Cleaned up code More commenting

Video painting mode (USB/webcam input) (current brush/mirror/scale/color combo draws video input to screen) toggle ON MIDI 42 to turn video paint mode on mirroring and mirror scaling work in video paiting mode and are a lot of fun

Added more mirroring modes (now 2,3,4,5,6,7,8,9,16,32,64)

Changed mirroring MIDI interface to increment decrement

Changed brush MIDI colorization interface to increment decrement

Added X&Y auto drawing/scrolling capability for all brushes MIDI 70&38 turn on the up/down auto scrolling MIDI 39&55 turn on the right/left scrolling this allows for auto painting/drawing/slit scanning effects

Added randomization for auto drawing/scrolling based on [randomtime]

added randomization for sizes based on [randomtime]

Added multi color for mirror mode which means each object shown in mirror mode will be colored differently still effected by brush randomization/RGB knobs

Split [triy] and [scaleamount]

Split [cirres] and [randomamount]

Added new background

Added .sh files for ease of installing/running new apps these will be on the desktop for the new .iso and also avilable for download here just download the zip from github, unzip it, make sure it is in "/home/pi/openFrameworks/apps/myApps/" then you shoud be able to run the .sh from the desktop and press excecute in terminal for it to do the work for you I'll make a video detailing some more basic functions of Scrawl then on about how to install scral on a new MicroSD card and use the .sh files then I'l detail the more advanced functions I've added in this new update

Rearranged MIDI layout

Took out translation I wasn’t using it Took out screenshot ///

/// Intro

Scrawl is a standalone RGBA shape generator/positioner with painting capabilities, full MIDI/keyboard and some mouse control for the Raspberry Pi (currently using 3b+(old hardware version)/3b).

This project was originally meant as a means to an end for my community theatre. DMX lighting can get very expensive when you are talking about moving heads and RGB color mixing(or any other colorspace). I wanted to try to make a project where I could replicate this behavior with a Raspberry Pi and a projector. There would be obvious limitations but it could also do things even the most expensive DMX light could not, at least in my head it would.

I started watching some openframeworks tutorial videos https://www.youtube.com/playlist?list=PL4neAtv21WOlqpDzGqbGM_WN2hc5ZaVv7

then I started playing with R_E_C_U_R https://github.com/langolierz/r_e_c_u_r

and then finally waaaave pool was released https://github.com/ex-zee-ex/waaaave_pool

waaaaave pool released a distribution that has become the foundation for Scrawl. Through much trial and error I figured out my way around the raspberry pi and loaded up some simple projects.

while the project was born for theatre it will be perfectly at home in a video synthesis environment where I will also use it.

I'm totally new to github so bear with me as I learn how to best keep things updated my intention is to release this project as source files and also a downloadable disk image to be burned onto a microSD card with something like https://www.balena.io/etcher/

if you have suggestions feel free to send them to me at bukowskionmymind@gmail.com

also if you really enjoy Scrawl and feel so inclined you can support me and my pursuit of more video synth cartridges to be released for free by sending money for cat food to nicholecanada@gmail.com via paypal

/// Moving forward

I've pretty much cleared away my major wants for this app! I'll start using it more and think of some new cool stuff or just move onto the next apps

currently working on a colorizer (https://www.instagram.com/p/B9xAXH4BzAO/ little preview this is strange loop running into the colorizer ) currently 7 band with alpha blending between layers for a strange kind of effect if you turn it on. Color randomization per band as well as alpha randomization per band will be present in some form

and a variable mirror/quadrant effect with some added bonuses like rotation, Z scaling and strobe per quadrant (currently)

the image is set up to use the composite output and autoboot Scrawl

/// Control (MIDI,Keyboard,Mouse)

I'm using the same MIDI template that I use for waaaave pool for easy integration

I've uploaded a MIDI control template for the korg nano kontrol version 1

I've laid out MIDI in a slightly different way now that I think will ultimately make more sense now that I know what pretty much all the controls are

you can also use a keyboard to interact with almost all of the scrawl parameters you can use MIDI, keyboard and a mouse all together

/// MIDI map the format is as follows

// top row of knobs on nano kontrol (left to right) CCs

// sliders on nano kontrol (left to right) CCs

// toggle buttons (top and bottom row left to right top first bottom second)

//6 toggle buttons on left side of unit (<<, >, >>, loop, stop, record these are the labels on the controls not what they do)

/// keyboard map

basic operation is as follows

burn this onto your microSD with balena etcher linked above insert into RPI 3b/3b+ (older hardware revision the push pull microSD card interface) and it should boot right up for you upon start

b you can upload the source code yourself with the following instructions saving a long download time

  1. you can download the waaaave pool image and use that as a base to work from. linked above
  2. flash that onto your microSD card using the etcher linked above
  3. turn on RPI with waaaave pool image, press escape when waaaave pool starts up
  4. pull the whole scrawl folder into your openframeworks my apps folder
  5. copy the directory in open frameworks > my apps > scrawl
  6. open terminal, press escape to quit out of waaaave pool
  7. "cd (paste the directory you copied above)" press enter
  8. "make" press enter
  9. wait for that to finish it doesn't take too long
  10. "make run" press enter

    if your pi isn't connected to the internet you may get an error having to do with the date/time if so go into terminal "sudo date 021005422020" the number represent the time in this format MMDDhhmmYYYY if you want to run of composite rather than HDMI open the config file (insert microSD into a card reader in your computer it will show up on that card as config.txt) and #/comment out the following three lines 1. hdmi_force_hotplug 2. hdmi_mode 3. hdmi_group

    it should start up for you at that point once you have made the file once you can "cd" to that directory and "make run" any time to run scrawl with my forthcoming image it will just automatically start thus giving you another cartidge in the ever growing raspberry pi arsenal of video synths

/// Examples if you use this and post it somewhere let me know I'd love to see what gets done with it

srawlpi if you don't mind :)

here are a couple pictures of it in various uses

here are a couple videos of it in use

https://www.instagram.com/p/B7zSMVzhwnv/

just to be clear all scrawl is doing in this video is making a circle shape, sizing and positioning it, then coloring it structure is giving 4 way mirroring (which should be easy enough to add into scrawl and drawing with mirroring is pretty addictive) and memory palace is giving the feedback

https://www.instagram.com/p/B7g4iRWBu-v/

here an early version of scrawl is being send through the strange loop device for feedback effects https://github.com/meltdream/strange-loop

and lastly a version very close to what I've just put up being sent through the LZX memory palace by way of LZX visual cortex https://www.instagram.com/p/B8XrftUhaoh/

and some tutorial videos about Scrawl more coming https://www.youtube.com/watch?v=_pWDQ47e0zk basics https://www.youtube.com/watch?v=ChrJlL-rqJY advanced brush and basic color randomization