This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## AE RENDER COMMANDS ## | |
| #### EXAMPLE BATCH FILE #### | |
| Place this batch file in the folder where you Ae Projects are and it will prompt you a list of projects and let you select the desired project to be sent for rendering. | |
| ``` | |
| REM Render AE Projects from cmd by Olivier Jean. | |
| REM Will render AE project found in current folder, allowing user to select which project to render. | |
| @echo off | |
| REM The path to the aerender.exe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Opacity ON/OFF everyframe | |
| t = timeToFrames(t = time + thisComp.displayStartTime, fps = 1.0 / thisComp.frameDuration, isDuration = false); | |
| t%2*100 | |
| // Color Ramp ( HSV ) across time. ( here hardcoded to 1200) | |
| t = timeToFrames(t = time + thisComp.displayStartTime, fps = 1.0 / thisComp.frameDuration, isDuration = false) | |
| a = [t/1200,0.5,0.5,1]; | |
| c = hslToRgb(a); | |
| c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # remote trigger cam schnap scripts: | |
| op('/camSchnappr/camSchnappr/local/macros/movePoint').run('tab',fromOP=op('/camSchnappr/camSchnappr')) | |
| https://forum.derivative.ca/t/complex-mapping-setup-can-touchdesigner-do-it/8363/17 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ############################ | |
| ######## CONFIG.TXT ######## | |
| $:cd boot | |
| $:sudo nano config.txt | |
| # SDTV | |
| sdtv_mode | |
| Pal = 2 | |
| Ntsc = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Netstat List Process.exe name + IP's associated with it | |
| netstat -a -o -n -b | |
| #traceroute | |
| traceroute ipaddress or domainname.com | |
| # ipconfig | |
| ipconfig | |
| ipconfig /a { list all details including DHCP ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Left Hand vs Right Hand | |
| In both coordinate system: | |
| thumb is x - | |
| 2nd Finger is Y - | |
| index is Z - | |
| #Left hand to right hand convertion ( and vice versa ) | |
| we simply need to invert Z coordinate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Dialog Menus | |
| a = ui.messageBox('Please select:', 'Buttons:', buttons=['a', 'b', 'c']) | |
| print(str(a)) | |
| #ui.messageBox('Results', 'You seleacted item: ' + str(a)) | |
| # Select Container expression: | |
| for UI containers page A,B,C,D, we use the output chop of a radio UI , the value (int) is used to as the index of a list. | |
| ['pageA', 'pageB', 'pageC', 'pageD'][int(op('nPageSelect')['Value'])] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| m = tdu.Matrix() | |
| m.translate(5, 0, 0) | |
| m.rotate(0, 45, 0) | |
| op('someNode').store(‘xformMat’, m) | |
| and in the node parameter you would put: | |
| op('someNode').fetch(‘xformMat’) | |
| #from SnL Project: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HAP Chunk: | |
| ffmpeg -framerate 60 -f image2 -i %07d.png -vcodec hap -chunks 16 hap.mov | |
| ffmpeg -i yourSourceFile.mov -c:v hap outputName.mov | |
| ffmpeg -i yourSourceFile.mov -c:v hap -format hap_alpha outputName.mov | |
| ffmpeg -i yourSourceFile.mov -c:v hap -format hap_q outputName.mov | |
| -chunks N (default is 1; N is a number from 1-64 that does not exceed the number of CPU cores in the playback system) | |
| ffmpeg -i yourSourceFile.mov -c:v hap -format hap_q -chunks 4 outputName.mov |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #mainly labjack stuff. | |
| #open device with socket. | |
| import socket | |
| sock = socket.socket() | |
| sock.connect(("192.168.1.207", 502)) | |
| sock.close() | |
| #LJM lib open (any) | |
| >>> from labjack import ljm |