-
... es,<focusedPoint,handlers; var <>draggingPoint,draggingXY,mouseDownPoint; var <>dragOn=inf; // pixel distance to initiate drag or a symbol like \isCntrl var <>background,<styles,<defaultStyle; var pen, boxWidth,boxHeight,isDown=false; *new ...
-
... oxPoint(draggingPoint.x,draggingPoint.y)),toBox,modifiers,draggingPoint) }); if(dragOn == inf,{ dragOn = 4 }); } } */
-
... swap(f,t) x.clear(f) // set how far you have to drag before dragging kicks in x.dragOn = 20 // or drag only on a modifier x.dragOn = 'isAlt' x.dragOn = 'isCntrl' x.dragOn = 'isCmd' x.dragOn = 'isShift' // back to non-modifier drag x.dragOn ...
-
These are variations using lsystems I built for: https://anvaka.github.io/lsystem/ I've only changed the LSystem itself, not the note selections or instruments. // if you have never done so, run the following code first ( Quarks.instal ...
-
... d, hovering, dragging; var points; var <>ioHeight=10, <>faderHeight=80.0; var <>dragOn=4; // pixel distance to initiate drag or a symbol like \isCntrl var <>background, <styles, <defaultStyle; var pen, boxWidth, boxHeight, boxBounds, font; ...
-
This minimal music generator uses a Lindenmayer system to generate composition instructions. Interpreting those same instructions twice with some randomness yields a kind of 2-voiced minimal music.This code depends on the Panola quark and t ...
-
... F4+XF]--XF", $F: "")); 5.do{l.next}; RedLTurtle(l, 20, 36, 1).makeWindow; ) //--dragon curve ( l= RedLSystem("F", ($F: "[+F][+G--G4-F]", $G: "-G++G-")); 11.do{l.next}; RedLTurtle(l, 5, 45, 1).makeWindow(initAngle: 0.5pi, initTranslate: Poin ...
-
... tive season of Ganesh Chaturthi but mostly by homesickness. (Melody: Imagine Dragon's "Demons") SoundCloud: https://soundcloud.com/tanya-sonker/musc-115-final-home/s-wYqGN Samples: https://drive.google.com/drive/folders/1l6YHKmooAtkY ...
-
... = a.applyRules(4); LSPlant (80@170, 90, argAngle: 60).drawSize_(4).draw(k); ) //Dragon Curve ( a = LSys ( "L" , [ "L" -> "L+R+" , "R" -> "-L-R" ]); k = a.applyRules(11); LSPlant (180@270, 180, argAngle: 90).drawSize_(4).draw(k); ) //Sierpin ...
-
... lified # 🦎 lizard 1F40D ; fully-qualified # 🐍 snake 1F432 ; fully-qualified # 🐲 dragon face 1F409 ; fully-qualified # 🐉 dragon 1F995 ; fully-qualified # 🦕 sauropod 1F996 ; fully-qualified # 🦖 T-Rex # subgroup: animal-marine 1F433 ; fully-qu ...