Sebastian Martinez
Forum Replies Created
-
Hi Tomas,
thanks for asking! Regarding the colors – it just simply works. Even with 3 colors, two for max and min value and the third for medium value. The more colors you use the more distinguished is the result.
For that I finally changed the workflow a bit by just using black and white for min and max values, prerender the result and on that image-sequence I used the Colorama-Effect to ramp values with multible colors. That way it is easier to edit the desired colors.
Sebastian Martinez
CGI-Designer
Cologne, Germany
AE, AI, PS, 3ds max, C4d -
Hi folks,
I gave it another try myself and with the help of a friend of mine who is a Javascript-Pro, though he hasn’t ever touch AE before:
counties = footage("test.json").sourceData;
minmax = counties[counties.length-1];
countyName = name.split("-")[1].split(" ")[0];
var result;
for(var i = 0; i < counties.length-1; i++) {
if(counties[i].ID === countyName){
result = counties[i].days;
}
}
//v = result[timeToFrames(0)];
v = result[Math.round(thisComp.layer("Null 42").effect("Slider Control")("Slider"))];
startcolor = thisComp.layer("Null 42").effect("Color 1")("Color");
endcolor = thisComp.layer("Null 42").effect("Color 2")("Color");
linear (v,minmax.min,minmax.max,startcolor,endcolor);Data-source is a JSON-file imported into AE. The layer name ist a reference to pick its specific values out from the JSON. The part in the middle I don’t understand. But the results are driven by an animated slider (from 0 to 45 wich are the separat values animated over time). And the two colors for having a transition between them come from Color Controle effects named Color 1 and Color 2.
The JSON-file partly look like this:

The code works well. But might be written better I guess…
Sebastian Martinez
CGI-Designer
Cologne, Germany
AE, AI, PS, 3ds max, C4d -
Sebastian Martinez
May 12, 2020 at 7:01 pm in reply to: Color Transition between two Colors by Slider ControlAndrei,
yes, the square braketts where too much. I just found it out by myself.
But thank you so much for replying!
Respects
SebastianSebastian Martinez
CGI-Designer
Cologne, Germany
AE, AI, PS, 3ds max, C4d -
Sebastian Martinez
May 12, 2020 at 6:59 pm in reply to: Color Transition between two Colors by Slider ControlStupid me. Too much braketts. This works now:
Col=thisComp.layer("Null 42").effect("Slider Control")("Slider");
color1=thisComp.layer("Null 42").effect("Color Control")("Color");
color2=thisComp.layer("Null 42").effect("Color Control 2")("Color");linear (Col,0,100,color1,color2)
Anyhow, Thanks to all of you for helping out in this forum, especially Dan!
Take care
sebastianSebastian Martinez
CGI-Designer
Cologne, Germany
AE, AI, PS, 3ds max, C4d -
Sebastian Martinez
May 11, 2020 at 5:37 pm in reply to: Shape Layers: Pasting into Group 1 (instead of creating new one)okay, I’m replying to my own post. I found kind of a strange work around:
1. Copy the group-item you wish to paste (if allready arranged in another comp, in my case the Trim function with some expressions)
2. Select the Shape Layers you want to paste into
3. Type “group 1” (or the specific group you want to toggle) into the search dialog of the timeline-window and press enter. Now that group is revealed in all selected Shape Layers
4. Select these opened groups by click-dragging over all of them (start that in the free space between the opened layers)
5. Just paste. That Content is now pasted directly into that group without creating a new one
Thats not working at lightspeed but just about lightspeed
Best wishes to you all
SebastianSebastian Martinez
CGI-Designer
Cologne, Germany
AE, AI, PS, 3ds max, C4d -
Sebastian Martinez
May 11, 2020 at 5:20 pm in reply to: Shape Layers: Pasting into Group 1 (instead of creating new one)okay, I’m replying to my own post. I found kind of a strange work around:
1. Copy the group-item you wish to paste (if allready arranged in another comp, in my case the Trim function with some expressions)
2. Select the Shape Layers you want to paste into
3. Type “group 1” (or the specific group you want to toggle) into the search dialog of the timeline-window and press enter. Now that group is revealed in all selected Shape Layers
4. Select these opened groups by click-dragging over all of them (start that in the free space between the opened layers)
5. Just paste. That Content is now pasted directly into that group without creating a new one
Best wishes to you all
SebastianSebastian Martinez
CGI-Designer
Cologne, Germany
AE, AI, PS, 3ds max, C4d -
Yes, it is tied to my previuos question.
Thats perfectly it!
Dan you are a heroe!
Thank you so much and best wishes,
SebastianSebastian Martinez
CGI-Designer
Cologne, Germany
AE, AI, PS, 3ds max, C4d -
Dan,
that’s exactly it! Perfect, you are magic!
Dearest respacts and thank you so much again!
SebastianSebastian Martinez
CGI-Designer
Cologne, Germany
AE, AI, PS, 3ds max, C4d -
wow!
thank’s dan, you are a hero.
sebastianSebastian Martinez
-
Sebastian Martinez
January 16, 2010 at 12:42 pm in reply to: Windows 7 – Capturing via FireWire doesn’t workYes, these setting are disregarded sometimes. But I checked it all and it was all ok …
It is just an oldy dv cam.
I didn’t had the leisure yet to fix it though, but I’ll post when it’s done.
Thank you for all your knowledge!
Respects
SebastianSebastian Martinez