Page 3 of 27 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 266

Thread: Nutcracker: What effects would you like to see?

  1. #21
    Join Date
    Dec 2011
    Location
    Littleton, Colorado
    Posts
    2,592
    Post Thanks / Like

    Default Re: Nutcracker: What effects would you like to see?

    So many of the basic effects can be done with the user defined class. This allows you to write your own effects. I will be teaching (and documenting this) for the academy this weekend. I am going to gather a bunch of them together and make a new basic class. Maybe it will have 20-30 effects in the next month.

    Here is a user defined effect (meaning you can type in the php code to generate basic effects). See the bolded line below that creates this flashing color cycle
    array_to_save
    username f
    user_target AA
    effect_class user_defined
    effect_name USER1
    window_degrees 180
    start_color #FFFFFF
    end_color #FFFFFF
    frame_delay 200
    sparkles 0
    param1 1
    param2 2
    seq_duration 2
    php_program if($frame%4==0) $rgb=hexdec(\"#FFFFFF\"); if($frame%4==1) $rgb=hexdec(\"#FF0000\"); if($frame%4==2) $rgb=hexdec(\"#00FF00\"); if($frame%4==3) $rgb=hexdec(\"#0000FF\");
    submit Submit Form to create your effect
    OBJECT_NAME user_defined


    Here is another example:
    array_to_save
    username f
    user_target AA
    effect_class user_defined
    effect_name USER7
    window_degrees 180
    start_color #FFFFFF
    end_color #FFFFFF
    frame_delay 200
    sparkles 0
    param1 3
    param2 2
    seq_duration 2
    php_program # function user_defined($frame,$s,$p,$maxFrame,$maxStrand,$ma xPixel,$param1,$param2,$start_color,$end_color) $rgb=hexdec(\"#FFFFFF\"); $H=$S=$V=1; $slice=$param1; // use first parameter passed in from user $slice_size=$maxPixel/$slice; $H0 = (($frame% $slice) * $slice_size); $H=($p+$H0)/$maxPixel; if($H>1) $H = $H-intval($H); $rgb=HSV_TO_RGB ($H, $S, $V); return $rgb;
    submit Submit Form to create your effect
    OBJECT_NAME user_defined



    One more. Again, the bolded line is the entire program to create this effect. I will have a document describing how to create your own. The doc will describe the functions available to use.


    array_to_save
    username f
    user_target AA
    effect_class user_defined
    effect_name USER9
    window_degrees 180
    start_color #FFFFFF
    end_color #FFFFFF
    frame_delay 200
    sparkles 0
    param1 3
    param2 2
    seq_duration 2
    php_program $H = rand(1,100)/100; $S=rand(1,100)/100; $V=rand(1,100)/100; if(($p+$maxFrame-$frame/2)%5==0) { $H=$p/$maxPixel; $S=$V=1; } $rgb=HSV_TO_RGB ($H, $S, $V);
    submit Submit Form to create your effect
    OBJECT_NAME user_defined





    another:
    array_to_save
    username f
    user_target AA
    effect_class user_defined
    effect_name USER3
    window_degrees 180
    start_color #FFFFFF
    end_color #FFFFFF
    frame_delay 100
    sparkles 0
    param1 1
    param2 2
    seq_duration 2
    php_program $H=$S=$V=0; if($s%2==0) { if($p<=$frame) { $H=$p/$maxPixel; $S=$V=1; } } else if($s%2==1) { if($p>=($maxPixel-$frame)) { $H=1- ($p/$maxPixel); $S=$V=1; } } $rgb=HSV_TO_RGB ($H, $S, $V);
    submit Submit Form to create your effect
    OBJECT_NAME user_defined




    I will probably build 50-100 of these by end of summer and just create them all into the basic effect library.

    first, i will get the nutcracker to sync its effects to the music.
    Last edited by smeighan; 06-11-2012 at 05:42 PM.
    Sean
    Littleton, CO
    Latest releases [url]http://nutcracker123.com/nutcracker/releases[/url]
    xLights/Nutcracker Forum [url]http://nutcracker123.com/forum/index.php[/url]
    Facebook [url]https://www.facebook.com/groups/628061113896314[/url]

    [IMG]http://nutcracker123.com/nutcracker/images/ZZ_SEAN5.gif[/IMG]

  2. #22
    Join Date
    Dec 2010
    Location
    Tustin, CA
    Posts
    2,143
    Post Thanks / Like

    Default Matrix Panel Staggered Rows.

    I've been reading and thinking about matrix panels and the conclusion I've come to is that a staggered matrix allows for closer pixel spacing and better displays that a square matrix. Basically it's nothing more than shifting every other row by 1/2 the pixel spacing. The only two problems 1) The software has to compensate for the distortion but when it does curves are much smoother so graphics generally look better. 2) It's much harder to make a modular panel that is is with a square matrix. So is this something you might look at?

    John

  3. #23
    Join Date
    Dec 2011
    Location
    Littleton, Colorado
    Posts
    2,592
    Post Thanks / Like

    Default Re: Matrix Panel Staggered Rows.

    Quote Originally Posted by timon View Post
    I've been reading and thinking about matrix panels and the conclusion I've come to is that a staggered matrix allows for closer pixel spacing and better displays that a square matrix. Basically it's nothing more than shifting every other row by 1/2 the pixel spacing. The only two problems 1) The software has to compensate for the distortion but when it does curves are much smoother so graphics generally look better. 2) It's much harder to make a modular panel that is is with a square matrix. So is this something you might look at?

    John
    u build it, ill look at it. i have supported most everything people have asked. it will be put into my inbox of work that i need to sort.
    Sean
    Littleton, CO
    Latest releases [url]http://nutcracker123.com/nutcracker/releases[/url]
    xLights/Nutcracker Forum [url]http://nutcracker123.com/forum/index.php[/url]
    Facebook [url]https://www.facebook.com/groups/628061113896314[/url]

    [IMG]http://nutcracker123.com/nutcracker/images/ZZ_SEAN5.gif[/IMG]

  4. #24
    Join Date
    Dec 2011
    Posts
    5,931
    Post Thanks / Like

    Default Re: Nutcracker: What effects would you like to see?

    Sean being that you have effects radio button and the gallery button , it would be awesome if users could (while in effect generator) select the target-model , choose the effect type-class and and then select an image from the gallery and have it load in the generator.

    just a thought.

    Cheers

  5. #25
    Join Date
    Nov 2011
    Location
    Texas
    Posts
    779
    Post Thanks / Like

    Default Re: Nutcracker: What effects would you like to see?

    I know, it's already been asked for, but since you are currently adding effects, I thought asking again wont hurt

    What about a Firework effect ?

  6. #26
    Join Date
    Dec 2011
    Location
    Littleton, Colorado
    Posts
    2,592
    Post Thanks / Like

    Default Re: Nutcracker: What effects would you like to see?

    Quote Originally Posted by Lionking_Tx View Post
    I know, it's already been asked for, but since you are currently adding effects, I thought asking again wont hurt

    What about a Firework effect ?
    i will be doing a 4th of july show this year so firework effects are on my agenda.
    Sean
    Littleton, CO
    Latest releases [url]http://nutcracker123.com/nutcracker/releases[/url]
    xLights/Nutcracker Forum [url]http://nutcracker123.com/forum/index.php[/url]
    Facebook [url]https://www.facebook.com/groups/628061113896314[/url]

    [IMG]http://nutcracker123.com/nutcracker/images/ZZ_SEAN5.gif[/IMG]

  7. #27
    Join Date
    Nov 2011
    Location
    Texas
    Posts
    779
    Post Thanks / Like

    Default Re: Nutcracker: What effects would you like to see?

    Quote Originally Posted by smeighan View Post
    i will be doing a 4th of july show this year so firework effects are on my agenda.
    Hey, Christmas will come early this year - Thanx Sean!

  8. #28
    Join Date
    Nov 2010
    Location
    Livermore, CA
    Posts
    2,128
    Post Thanks / Like

    Default Re: Nutcracker: What effects would you like to see?

    Quote Originally Posted by angus40 View Post
    Thankyou Sean for making this possible .

    Your effects generator and the ability to easily use them with Hls is awesome.


    Sorry, "Joe's HLS running Sean's Nutcracker effects with the e681 on tls 3001 pixels" was deleted at 5:38:15 Sat Sep 1, 2012.
    Happy to Show support;
    Xlights/Nutcracker and The Falcon Team [SIGPIC][/SIGPIC]

  9. #29
    Join Date
    Feb 2011
    Location
    Walker, IA
    Posts
    213
    Post Thanks / Like

    Default Re: Nutcracker: What effects would you like to see?

    Sean - not sure if you're checking this thread or not, but was wondering if you'd thought about implementing a firework effect? Launches from the bottom part of a model (megatree or vertical matrix seem like they'd be the best for this effect) with a single pixel width and goes toward the top of the model where it explodes into a firework burst. The burst could be rainbow or single color.

    I know you've got your hands full with the rewrite, so I don't expect an answer (or implementation) any time soon, if ever. Just wanted to put it out there.

  10. #30
    Join Date
    Dec 2011
    Location
    Littleton, Colorado
    Posts
    2,592
    Post Thanks / Like

    Default Re: Nutcracker: What effects would you like to see?

    Quote Originally Posted by aaron1 View Post
    Sean - not sure if you're checking this thread or not, but was wondering if you'd thought about implementing a firework effect? Launches from the bottom part of a model (megatree or vertical matrix seem like they'd be the best for this effect) with a single pixel width and goes toward the top of the model where it explodes into a firework burst. The burst could be rainbow or single color.

    I know you've got your hands full with the rewrite, so I don't expect an answer (or implementation) any time soon, if ever. Just wanted to put it out there.
    "implementing a firework effect?" Yes
    I will have one for my 4th of july show.

    something like this
    http://r3dux.org/2010/10/how-to-crea...ect-in-opengl/

    Be Aware! Our effect will not look like this because no one i know has a 800x600 node display. This would be 480,000 nodes or 1.44 million channels. $300-400K

    on our more typical 32x50 displays the challenge is getting it to look good with such small resolution. But yes, i will be making such an effect

    thanks
    sean
    Sean
    Littleton, CO
    Latest releases [url]http://nutcracker123.com/nutcracker/releases[/url]
    xLights/Nutcracker Forum [url]http://nutcracker123.com/forum/index.php[/url]
    Facebook [url]https://www.facebook.com/groups/628061113896314[/url]

    [IMG]http://nutcracker123.com/nutcracker/images/ZZ_SEAN5.gif[/IMG]

Page 3 of 27 FirstFirst 1234513 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •