Luce packages
LuceLuce BaseLuciaOS

dymokomi/luced-3d

Source of release 0.11.3

0.11.3 / examples / wrangles / pc_smooth.prisma

#prisma 4.0
def luced3d "scene" {
    int display = 5
    int next_id = 6
    bool preview = false
    int scope = -1
    int selected = 5
    int take = 0
    float64[4] time = [1, 1, 240, 24]
    str units = "mm"
    int version = 1
    def network "nodes" {
        def Sphere "n2" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            str[0] hidden = []
            int id = 2
            float64[0] inputs = []
            str name = "Sphere 2"
            int output = -1
            float64[32] parameters = [1, 64, 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[0] sources = []
            str[3] texts = ["", "weight", "renamed"]
            bool time_dependent = false
            bool visible = true
            def recipes "edits" {
            }
        }
        def Code "n3" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            str[0] hidden = []
            int id = 3
            float64[2] inputs = [2, -1]
            str name = "Code 3"
            int output = -1
            float64[64] parameters = [1, 10, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
            int parent = -1
            float64[2] position = [0, 90]
            float64[2] sources = [0, 0]
            str[5] texts = ["", "let n = snoise(p.P * 5.0) + rand((i64)p.ptnum) * 0.6\np.P = p.P + normalized(p.P) * (n * 0.12)\n", "", "", ""]
            bool time_dependent = false
            bool visible = true
            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"
            int output = -1
            float64[64] parameters = [1, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.15000000596046448, 20, 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, 180]
            float64[2] sources = [0, 0]
            str[5] texts = ["", "p.P = k.input(0).pcopen(p.P, k.f32(\"radius\", 0.15), k.i32(\"points\", 20)).filter_vec3(\"P\")\n", "", "radius\t16\t1\t0\npoints\t17\t1\t1", ""]
            bool time_dependent = false
            bool visible = true
            def recipes "edits" {
            }
        }
        def Code "n5" {
            int edit_count = 0
            bool enabled = true
            str frozen = ""
            int guard = 0
            str[0] hidden = []
            int id = 5
            float64[2] inputs = [4, -1]
            str name = "Code 5"
            int output = 1
            float64[64] parameters = [1, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.15000000596046448, 20, 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, 270]
            float64[2] sources = [0, 0]
            str[5] texts = ["", "p.P = k.input(0).pcopen(p.P, k.f32(\"radius\", 0.15), k.i32(\"points\", 20)).filter_vec3(\"P\")\n", "", "radius\t16\t1\t0\npoints\t17\t1\t1", ""]
            bool time_dependent = false
            bool visible = true
            def recipes "edits" {
            }
        }
    }
    def takes "takes" {
        def take "t0" {
            str[4] cameras = ["", "", "", ""]
            float64[4] counts = [0, 0, 0, 0]
            float64[4] enabled = [1, 1, 1, 1]
            str[4] hidden = ["", "", "", ""]
            float64[4] ids = [2, 3, 4, 5]
            str name = "Main"
            float64[0] transforms = []
            float64[4] visible = [1, 1, 1, 1]
        }
    }
    def editor_view "view" {
        float64[6] camera = [0.69999999999999996, 0.55000000000000004, 6.3970205201872563, -0.006187736988067627, 1.0315000796690583, 0.0071870684623718262]
        float64[3] network = [1, 0, 0]
    }
}