set cut_paste_input [stack 0] version 11.3 v6 Group { inputs 0 name DOTS help "DOTS v1.0.1\nGuillem Ramisa de Soto\n21:04:2020" selected true xpos -40 ypos -85 addUserKnob {20 DOTS3 l Controls} addUserKnob {26 DOTS l "D O T S" T ""} addUserKnob {26 "" +STARTLINE} addUserKnob {26 Mode l Mode T " "} addUserKnob {6 DLMode l "Dots / ScanLines " t "Dots / Scan Lines" -STARTLINE} addUserKnob {6 DDiagonal l diagonal t "Dots in PC-CRT disposition style" -STARTLINE} addUserKnob {6 LAxis l axis t "Switch X / Y axis on ScanLine mode" -STARTLINE +HIDDEN} addUserKnob {26 "" +STARTLINE} addUserKnob {3 DLAmount l Amount t "Iterations on screen-space. 3 iteration per n*"} DLAmount 33 addUserKnob {7 LMult l " Lines Mult" t "Lines global multiplier" -STARTLINE +HIDDEN} LMult 0.66 addUserKnob {7 DMult l " Dots Mult" t "Dots global multiplier" -STARTLINE R 0 3} DMult 1 addUserKnob {26 space l "" +STARTLINE T " "} addUserKnob {7 DSize l Size t "Dots size" R 0.1 2} DSize 1 addUserKnob {7 DSoftness l Softness t "Dots softness" R 0.1 6} DSoftness 1 addUserKnob {7 DAspectRatio l "Aspect Ratio" t "Dots aspect Ratio" -STARTLINE R 0 2} DAspectRatio 1 addUserKnob {7 LSpacing l Spacing t "Line spacing" +HIDDEN} addUserKnob {26 "" +STARTLINE} addUserKnob {41 format -STARTLINE T BlinkScript_DOTS.format} addUserKnob {20 Settings} addUserKnob {41 "Local GPU: " T BlinkScript_DOTS.gpuName} addUserKnob {41 "Use GPU if Available" T BlinkScript_DOTS.useGPUIfAvailable} addUserKnob {41 vectorize l "Vectorize on CPU" -STARTLINE T BlinkScript_DOTS.vectorize} addUserKnob {26 "" +STARTLINE} addUserKnob {26 grds l "" +STARTLINE T "2020 | V1.0.1 | www.guillemramisadesoto.com"} } BlinkScript { inputs 0 recompileCount 3 ProgramGroup 1 KernelDescription "2 \"DOTS3\" iterate pixelWise 8cbec79bfe3bd06551b0c2a25b1063e0c4e26072b8b644bda0e0e67fc31bdf7f 1 \"dst\" Write Point 10 \"amount\" Int 1 IQAAAA== \"dots / scanlines\" Bool 1 AA== \"diagonal\" Bool 1 AA== \"axisScanLine\" Bool 1 AA== \"Size\" Float 1 AACAPw== \"Aspect Ratio\" Float 1 AACAPw== \"Softness\" Float 1 AACAPw== \"Line Spacing\" Float 1 AAAAAA== \"dots Mult\" Float 1 AACAPw== \"Line Mult\" Float 1 AACAPw== 10 \"n\" 1 1 \"sd\" 1 1 \"d\" 1 1 \"ax\" 1 1 \"s\" 1 1 \"AR\" 1 1 \"G\" 1 1 \"LSP\" 1 1 \"DM\" 1 1 \"LM\" 1 1 3 \"pi\" Float 1 1 AAAAAA== \"angle\" Float 1 1 AAAAAA== \"N\" Float 1 1 AAAAAA==" EncodedSource "1 2921 AShXlom8/xPRLSVBQHUscWZSkuyU444OJRWmVxpZP47PcotO2ojrIjkE+k+uQ5c9log8P7rAj9grT/zwRAAFZq9DjZr3N6SR2M/kBeCjfo9zYSFoa2dKP/T5Ih4c8kvvr5Y+npeCMrbyuhr++JGLStLfgNQYLxiQYN3FSxQy2oae57Lb5FjR7EPLqpkdisUkjnq93HVbqJp6yCVpwIY6L1yPBHBiW3iG3XV7MiUToAXBEJ6GoAx1ZfLH2lu2xxEnQeYKCffVGxGWxF+PIxhFXgy+YU9LNrfmytJe+0K/ypsCRogQ52oXfRG/3m1s83MlWL7cZHvk+xvx4THouD8XJ7mx+6ojUeVa2HBkZPhzYjUwMkRyyDtdunpmwDdZSh0pPbbThbjssY9KZSAR7posm+rzka4opyp2NxCD8cJhIdk0rl7X6w1zx56pWnoCwGRWnRnkwha6o6JtlShTEDTOTajQJllGdg4yTmMP9miZTtenyf/aH8jQUQQva2SgARnT/iV/lDeXLoOlPtrDCW0cPk1vieS/oEX2dv0aLZ9/Yj76QukSPafIge45+RQP3cBmoybbj9NgZjZPb9JStG6cUh1lXHR0DxFa92lQrfmgyNTF5HfMSi27P4UnFH7UxBj+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fNhIaEzH6ReR3YEmD/C2UV8Jy6x0IOM0YQvH3dFH0YVc+i" rebuild "" DOTS3_amount {{parent.DLAmount}} "DOTS3_dots / scanlines" {{parent.DLMode}} DOTS3_diagonal {{parent.DDiagonal}} DOTS3_axisScanLine {{parent.LAxis}} DOTS3_Size {{parent.DSize}} "DOTS3_Aspect Ratio" {{parent.DAspectRatio}} DOTS3_Softness {{parent.DSoftness}} "DOTS3_Line Spacing" {{parent.LSpacing}} "DOTS3_dots Mult" {{parent.DMult}} "DOTS3_Line Mult" {{parent.LMult}} protectKernelWhenPublishing true format "1920 1080 0 0 1920 1080 1 HD_1080" rebuild_finalise "" name BlinkScript_DOTS xpos 244 ypos -121 addUserKnob {20 User} addUserKnob {7 KLBKS l "" +STARTLINE} KLBKS {{"\[python -execlocal par\\ =\\ nuke.thisParent()\\nvis\\ =\\ par.knob('DLMode').getValue()\\n\\npar.knob('LAxis').setVisible(bool(vis))\\npar.knob('LSpacing').setVisible(bool(vis))\\npar.knob('LMult').setVisible(bool(vis))\\n\\npar.knob('DDiagonal').setVisible(bool(vis-1))\\npar.knob('DSize').setVisible(bool(vis-1))\\npar.knob('DSoftness').setVisible(bool(vis-1))\\npar.knob('DAspectRatio').setVisible(bool(vis-1))\\npar.knob('DMult').setVisible(bool(vis-1))\\n\\nret\\ =\\ vis]"}} } Output { name Output1 xpos 244 ypos -21 } end_group