Syntax highlighting text within After Effects?

Compositing and Motion Graphics

Syntax highlighting text within After Effects?

Postby Ampix0 on 03/26/2016, 9:27 am

I am about to make a series of code tutorials. I think I can achieve a much nicer look by animating my code. One of the more tedious things I would need to do is scrutinize every piece of text to ensure the coloring is correct to the syntax highlighting, it seems very error prone.

Is there some way I could .. get after effects to do syntax highlighting? Is it some how possible to copy text into AE and keep it's color (which actually wouldn't work probably but it would get me closer at least).
Ampix0
 
Posts: 109
Joined: 05/13/2009, 6:23 pm

Re: Syntax highlighting text within After Effects?

Postby star+circle on 03/26/2016, 10:49 am

Copy from where? Animate in which way?
star+circle
 
Posts: 745
Joined: 12/6/2014, 3:07 pm
Location: Finland

Re: Syntax highlighting text within After Effects?

Postby plae57 on 03/26/2016, 12:52 pm

Ampix0 wrote:I am about to make a series of code tutorials... Is there some way I could .. get after effects to do syntax highlighting?


Here is a way, but it is not free:

http://aescripts.com/expressionist/
plae57
 
Posts: 574
Joined: 08/4/2014, 4:12 am

Re: Syntax highlighting text within After Effects?

Postby Ampix0 on 03/26/2016, 4:36 pm

plae57 wrote:
Ampix0 wrote:I am about to make a series of code tutorials... Is there some way I could .. get after effects to do syntax highlighting?


Here is a way, but it is not free:

http://aescripts.com/expressionist/



This is actually not what I am looking for, this is to put syntax highlighting in the expression editor, I'm looking to add it to code that will be on a text layer.

What I actually want to accomplish is what they did IN that video, where they show you the code editor and animated it. I assume they may have manually set the colors up in this animation, but I will be doing this A LOT.
Ampix0
 
Posts: 109
Joined: 05/13/2009, 6:23 pm

Re: Syntax highlighting text within After Effects?

Postby Mylenium on 03/27/2016, 12:39 am

You can apply expression text animators for color. The performance is gonna kill it, though, since it evaluates for every character/ substring and texts cannot be that long. Here's something I had on my site:

https://vimeo.com/73780363

Mylenium
[Pour Mylène, ange sur terre]
----------------------------------------
www.myleniumblog.com
Mylenium
 
Posts: 3263
Joined: 02/1/2009, 11:45 am
Location: Germany
System Specs: Have, I do!

Re: Syntax highlighting text within After Effects?

Postby Matthieu_Bonnier on 08/7/2017, 11:28 am

Hey, I was looking for the same thing,
here's the closest I could find. It doesn't
keep the color from the text but it
re-colorize it... Not free though.

http://aescripts.com/ash-syntax-highlighter/
Matthieu_Bonnier
 
Posts: 2
Joined: 08/15/2012, 11:07 am


Return to After Effects