sonoptik conf
This commit is contained in:
parent
01d4220199
commit
adca2e4502
4 changed files with 33 additions and 31 deletions
|
|
@ -478,7 +478,8 @@ def MaxOneSide(LAY, Cux, Cuy, Cuz):
|
|||
'''
|
||||
|
||||
dots = []
|
||||
#print("X", Cux['type'], Cux['phaseoffset'], Cux['inv'], Cux['amp'])
|
||||
|
||||
print("X", LAY['scandots'],Cux['type'], Cux['phaseoffset'], Cux['inv'], Cux['amp'])
|
||||
if Cux['type'] ==0:
|
||||
xsteps = ssine(LAY['scandots'], Cux['freq'], Cux['phaseoffset'] + Cux['inv'], Cux['amp'])
|
||||
if Cux['type'] ==33:
|
||||
|
|
@ -488,7 +489,7 @@ def MaxOneSide(LAY, Cux, Cuy, Cuz):
|
|||
if Cux['type'] == 127:
|
||||
xsteps = slinear(LAY['scandots'], 0, Cux['amp'])
|
||||
|
||||
#print("Y", Cuy['type'], Cuy['phaseoffset'], Cuy['inv'], Cuy['amp'])
|
||||
print("Y", LAY['scandots'], Cuy['type'], Cuy['phaseoffset'], Cuy['inv'], Cuy['amp'])
|
||||
if Cuy['type'] ==0:
|
||||
ysteps = ssine(LAY['scandots'], Cuy['freq'], Cuy['phaseoffset'] + Cuy['inv'], Cuy['amp'])
|
||||
if Cuy['type'] ==33:
|
||||
|
|
@ -512,13 +513,14 @@ def MaxOneSide(LAY, Cux, Cuy, Cuz):
|
|||
|
||||
return dots
|
||||
|
||||
CurveLX = [{'type': 0, 'freq': 1, 'amp': 150, 'phasemod': 0, 'phaseoffset': 0, 'inv': 0}] * 3
|
||||
CurveLY = [{'type': 0, 'freq': 1, 'amp': 150, 'phasemod': 0, 'phaseoffset': 0, 'inv': np.pi/2}] * 3
|
||||
CurveLZ = [{'type': 0, 'freq': 1, 'amp': 150, 'phasemod': 0, 'phaseoffset': 0, 'inv': 0}] * 3
|
||||
CurveLX = [{'type': 0, 'freq': 1, 'amp': 100, 'phasemod': 0, 'phaseoffset': 0, 'inv': 0}] * 3
|
||||
CurveLY = [{'type': 0, 'freq': 1, 'amp': 100, 'phasemod': 0, 'phaseoffset': 0, 'inv': np.pi/2}] * 3
|
||||
#CurveLY = [{'type': 0, 'freq': 1, 'amp': 100, 'phasemod': 0, 'phaseoffset': 0, 'inv': np.pi/2}] * 3
|
||||
CurveLZ = [{'type': 0, 'freq': 1, 'amp': 1, 'phasemod': 0, 'phaseoffset': 0, 'inv': 0}] * 1
|
||||
|
||||
CurveRX = [{'type': 0, 'freq': 1, 'amp': 150, 'phasemod': 0, 'phaseoffset': 0, 'inv': 0}] * 3
|
||||
CurveRY = [{'type': 0, 'freq': 1, 'amp': 150, 'phasemod': 0, 'phaseoffset': 0, 'inv': np.pi/2}] * 3
|
||||
CurveRZ = [{'type': 0, 'freq': 1, 'amp': 150, 'phasemod': 0, 'phaseoffset': 0, 'inv': 0}] * 3
|
||||
CurveRX = [{'type': 0, 'freq': 1, 'amp': 100, 'phasemod': 0, 'phaseoffset': 0, 'inv': 0}] * 3
|
||||
CurveRY = [{'type': 0, 'freq': 1, 'amp': 100, 'phasemod': 0, 'phaseoffset': 0, 'inv': np.pi/2}] * 3
|
||||
CurveRZ = [{'type': 0, 'freq': 1, 'amp': 1, 'phasemod': 0, 'phaseoffset': 0, 'inv': 0}] * 3
|
||||
|
||||
|
||||
def Maxwell(LAY):
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ log.infog("Aurora v0.1b")
|
|||
OSCinPort = 8090
|
||||
ljscene = 0
|
||||
|
||||
StartFXs = ["anim.Trckr","anim.Starfield","anim.Starfield", "anim.Word"]
|
||||
StartFXs = ["anim.Maxwell","anim.Starfield","anim.Starfield", "anim.Word"]
|
||||
|
||||
# Useful variables init.
|
||||
white = lj.rgb2int(255,255,255)
|
||||
|
|
@ -291,7 +291,7 @@ currentlayer = 0
|
|||
for l in range(lasernumber):
|
||||
|
||||
Layer.append({'number': 0, 'FX': "user.User4",
|
||||
'Xcoord': 45, 'Ycoord': 45, 'Zcoord': 0,
|
||||
'Xcoord': 300, 'Ycoord': 300, 'Zcoord': 0,
|
||||
'scandots': 64, 'scale': 45, 'color': white, "run": False,
|
||||
'intensity': 255, 'closed': False,
|
||||
'lineSize': 64, 'radius': 45, 'wavefreq': 3,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue