Luce packages
LuceLuce BaseLuciaOS

dymokomi/luced-3d

Source of release 0.11.6

0.11.6 / examples / wrangles / noise_sphere.prisma

#prisma 4.0
def luced3d "scene" {
    int display = 4
    int next_id = 5
    int scope = 2
    int selected = 4
    int take = 0
    float64[4] time = [1, 1, 240, 24]
    str units = "mm"
    int version = 1
    def network "nodes" {
        def Geo "n2" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            str[0] hidden = []
            int id = 2
            float64[0] inputs = []
            str name = "Geo 2"
            float64[48] parameters = [0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 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 = [40, 70]
            float64[0] sources = []
            str[3] texts = ["", "weight", "renamed"]
            bool time_dependent = false
            bool visible = true
            def recipes "edits" {
            }
        }
        def Sphere "n3" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            str[0] hidden = []
            int id = 3
            float64[0] inputs = []
            str name = "Sphere 3"
            float64[48] parameters = [1, 64, 32, 0, 0, 0, 0, 1, 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 = 2
            float64[2] position = [0, 0]
            float64[0] sources = []
            str[3] texts = ["", "weight", "renamed"]
            bool time_dependent = false
            bool visible = false
            def recipes "edits" {
            }
        }
        def Code "n4" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            str[0] hidden = []
            int id = 4
            float64[2] inputs = [3, -1]
            str name = "Code 4"
            float64[64] parameters = [1, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.5, 0.25, 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 = 2
            float64[2] position = [0, 90]
            float64[2] sources = [0, 0]
            str[5] texts = ["", "# Out from the center by noise that drifts with time.\nlet scale = k.f32(\"scale\", 2.5)\nlet n = snoise(p.P * scale + [0.0, 0.0, (f32)k.time * 0.5, 0.0])\np.P = p.P + normalized(p.P) * (n * k.f32(\"amount\", 0.25))\n", "", "scale\t16\t1\t0\namount\t17\t1\t0", ""]
            bool time_dependent = true
            bool visible = true
            def recipes "edits" {
            }
        }
    }
    def takes "takes" {
        def take "t0" {
            str[3] cameras = ["", "", ""]
            float64[3] counts = [12, 3, 0]
            float64[3] enabled = [1, 1, 1]
            str[3] hidden = ["", "", ""]
            float64[3] ids = [2, 3, 4]
            str name = "Main"
            float64[15] transforms = [0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0]
            float64[3] visible = [1, 0, 1]
        }
    }
    def editor_view "view" {
        float64[3] network = [1, 0, 0]
        float64[46] panes = [0, 1, 1, -1, 0, 1.5707963267948966, 9, 0, 0.80000000000000004, 0, 0, 1, 45, 0, -1, 0.69999999999999996, 0.55000000000000004, 6.5605994528611413, -0.01454240083694458, 1.036765456199646, 0.030875742435455322, 0, 0, 45, 3, -1, 0, 0, 9, 0, 0.80000000000000004, 0, 0, 1, 45, 6, -1, 1.5707963267948966, 0, 9, 0, 0.80000000000000004, 0, 0, 1, 45]
    }
}