dymokomi/luced-3d
Source of release 0.11.4
0.11.4 / examples / wrangles / spiral.prisma
#prisma 4.0
def luced3d "scene" {
int display = 2
int next_id = 3
bool preview = false
int scope = -1
int selected = 2
int take = 0
float64[4] time = [1, 1, 240, 24]
str units = "mm"
int version = 1
def network "nodes" {
def Code "n2" {
int edit_count = 0
bool enabled = true
str frozen = ""
int guard = 0
str[0] hidden = []
int id = 2
float64[2] inputs = [-1, -1]
str name = "Code 2"
int output = 1
float64[64] parameters = [4, 300, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.15000000596046448, 0.0099999997764825821, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
int parent = -1
float64[2] position = [0, 0]
float64[2] sources = [0, 0]
str[5] texts = ["", "let t = (f32)n * k.f32(\"turn\", 0.15)\nlet r = 0.5 + (f32)n * 0.012\nlet up = (f32)n * k.f32(\"rise\", 0.01)\nlet across = [math32.cos(t), 0.0, math32.sin(t), 0.0]\nlet inner = k.add_point(across * r + [0.0, up, 0.0, 0.0])\nlet outer = k.add_point(across * (r + 0.4) + [0.0, up, 0.0, 0.0])\nif n > 0:\n let before = (i32)(n - 1) * 1024\n var quad: i32[16] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]\n quad[0] = before\n quad[1] = before + 1\n quad[2] = outer\n quad[3] = inner\n _ = k.add_prim(quad, 4)\n", "", "turn\t16\t1\t0\nrise\t17\t1\t0", ""]
bool time_dependent = false
bool visible = true
def recipes "edits" {
}
}
}
def takes "takes" {
def take "t0" {
str[1] cameras = [""]
float64[1] counts = [0]
float64[1] enabled = [1]
str[1] hidden = [""]
float64[1] ids = [2]
str name = "Main"
float64[0] transforms = []
float64[1] visible = [1]
}
}
def editor_view "view" {
float64[6] camera = [0.69999999999999996, 0.55000000000000004, 22.186767401985065, 0.12657284736633301, 1.4950000047683716, -0.12532377243041992]
float64[3] network = [1, 0, 0]
}
}