Modifying scripts
Yeah. Some of these scripts are just meant to be examples for people to learn from rather than useful in their own right. I need to add a simple way to copy the built in scripts to the user's Open Brush folder for further editing.
5 Replies
Currently the simplest way to see them is to go to here: https://github.com/IxxyXR/open-brush/tree/experiments/moonsharp/Assets/Resources/LuaScriptExamples
GitHub
open-brush/Assets/Resources/LuaScriptExamples at experiments/moonsh...
Open Source Fork of Tilt Brush. Contribute to IxxyXR/open-brush development by creating an account on GitHub.
For example here's "ManyAround":
I've actually forgotten to wire up Hue Shift so it's not currently doing anything. There's a simplified version of this script in the docs:
https://docs.openbrush.app/alternate-and-experimental-builds/runtime-scripting#symmetry-scripts
Could benefit by the ability to set distance between strokestry this one. it should behave the same as the 4 way mirror in Experimental Mode. It's a good script to learn from as it's so simple.
Very interesting. What's the table.insert function do?