文字记录 · CC BY 3.0

主题演讲:迷人的JavaScript:化妆与编程教育 - Anna Lytical

本页标题、字幕、摘要和阅读笔记为已保存的 AI 译文,可能有误。时间戳与来源一致,可展开查看原始字幕,并对照原视频核对。

Anna Lytical将变装妆容与JavaScript联系起来,讲解代码、创造性自我表达,以及如何让编程教育更具包容性。

OpenJS基金会 · 发布于 · 14分钟 · 英语 · 许可:CC BY 3.0 · 来源:在YouTube上观看

转录来源:Vidleaf 上的自动语音识别(可能包含错误)。AI 标点由 Vidleaf 添加;阅读文本已应用经审核的姓名更正;时间戳锚点保留。原始转录可在下方查看。

AI生成的摘要

Anna Lytical 是一位编码变装皇后和技术教育内容创作者,她分享了自己的编程之旅,并解释变装是一种玩味自我表达和颠覆性别的方式,并指出无论性别或性取向如何,任何人都可以做变装。她将编程比作变装妆容,逐一讲解所需的包和材料,并指出导入第二个包在代码和妆容上都有成本。她用一张标注好的眼部图像,在代码中用类、一个 2D 数组、用于睫毛和眼线的单独变量,以及用于应用颜色、打印进度和晕染区域的功能来建模眼妆,然后打造了一个紫色妆容,包括截断式眼褶和闪粉。她展示了最终妆容和代码,然后将成为工程师的道路描述为一把梯子,其横档可能看起来相距很远,并说她的内容填补了空白,帮助人们继续攀登。她鼓励人们以自己的方式创作内容,并将自己融入其中,她说在做了大约六年工程师和两年半创作这些内容之后,她从创作中学到的最多。

根据转录生成。请对照原始视频核查所链接的段落。由 Vidleaf 于 2026-10-20 审核。

带时间戳的章节摘要

Anna Lytical 介绍变装和编码内容

  • [0:00] Anna Lytical 自我介绍为一位编码变装皇后和技术教育内容创作者,她制作带有娱乐性代码示例的视频。
  • [0:00] 她分享自己的编程之旅,帮助他人走上他们的旅程,并偶尔发布关于技术中困扰她的事情的讽刺推文。
  • [0:30] 她解释变装是一种玩味自我表达和颠覆性别的方式,并说它是 LGBTQ+ 群体的重要组成部分。
  • [0:30] 她指出无论性别或性取向如何,任何人都可以做变装。
  • [1:00] 她指引观众在 Twitter、YouTube、Instagram 和 TikTok 上通过 @TheAnatLytical 查看她的内容,并说在谷歌搜索“coding drag queen”就能找到她。
  • [1:00] 她计划将编码和妆容结合在一起,让观众通过熟悉的视角学到新东西。

将变装妆容作为编码类比

  • [1:30] 她将展示她如何打造紫色眼影妆容,以及如何不被妆容吓倒并将自己的个性融入其中。
  • [1:43] 她将编程比作变装妆容,说你需要包和材料,并列出一个眼影盘——最好是非常多彩的——作为所需物品。
  • [2:13] 其他所需材料包括平头刷、遮瑕膏、假睫毛、睫毛胶、眼线和睫毛膏。
  • [2:20] 她指出,如果你觉得这已经有很多包了,那你不会想看到打造这个完整幻想所需的一切。
  • [2:47] 她说有时你必须导入第二个包才能获得一个功能,就像第二个有漂亮闪粉的眼影盘一样。
  • [2:47] 导入另一个包在代码上有成本(更慢、更大或更难以贡献),在妆容上也有成本(她在纽约市公寓里的空间有限)。

用代码建模眼妆

  • [3:13] 她通过创建一个类来用代码表示现实世界的事物,并使用一张标注好的眼部图像作为参考。
  • [3:43] 眼部类使用一个 2D 数组作为主眼部网格,加上用于睫毛、眼线和下睫毛线颜色的单独变量。
  • [4:13] 她添加了常见的妆容区域(眼睑、外 V、内眼角、眼褶、外区)以及一个接受颜色和区域的应用颜色功能。
  • [4:42] 添加了一个打印功能来检查进度,对 2D 数组使用标准打印,对眼线和睫毛使用条件打印。
  • [5:12] 她用蓬松刷涂上浅紫色,然后用更密的刷子涂上鲜艳的紫色,小心地将其点按在眼褶两侧。
  • [5:44] 一个新的晕染功能接受两个区域作为输入,获取它们的颜色,并添加字符串来晕染边缘,以获得更精致的效果。
  • [6:08] 她将较深的色调精确地涂在外 V 上,并晕染眼褶和外 V。
  • [6:53] 为了用闪粉更大胆更夸张,她通过添加一个新区域并将其重置为空字符串来做截断式眼褶。
  • [7:23] 她用手指涂上闪粉眼影,以获得更多色彩和活力,较小的区域则使用小指。
  • [7:44] 她用硬刷添加下睫毛线颜色,然后计划在镜头外涂上睫毛和眼线。

最终妆容与教学理念

  • [8:13] 经过轻微清理后展示了完成的妆容,这只眼睛除了睫毛的力量外几乎没有做其他处理,并在另一只眼睛上重复了。
  • [8:26] 添加了指甲,最终代码也展示了出来。
  • [8:30] 这一切的成果被揭示出来,很难说谁戴得更好看,但两者都感觉美丽就是胜利。
  • [8:46] 演讲者感受到了他们的紫色幻想和教学幻想,并感谢观众让他们教授一点关于妆容或代码的知识。
  • [8:46] 演讲者描述了拿人们熟悉的东西——妆容、变装喜剧,或者对大多数观众来说可能是 JavaScript 代码——并将其与新东西结合,帮助人们与他们喜爱的事物建立联系。

填补编码阶梯中的空白

  • [9:16] 编码可以很有创意,并没有特定类型的人才能成为工程师。
  • [9:16] 成为优秀工程师的道路就像一把梯子,横档可能看起来相距很远,或者梯子看起来很高。
  • [9:46] 进入技术的典型阶梯是计算机科学入门、数据结构、算法、软件工程或 Web 开发,然后是一份工作,但它只有在具备可用知识和资源的情况下才有效。
  • [9:46] 刚接触编码的人可能不知道必修课程,可能会被遗漏,或者可能知道像 Free Code Camp 这样的免费在线资源,但认为自己缺乏正确的知识。
  • [10:16] 在计算机科学入门课上,横档可能感觉真的相距很远,就像伸展到手臂够不到的地方,这很可怕。
  • [10:36] 演讲者的内容填补了空白,帮助人们继续前进和攀登,并在编码中获得乐趣。
  • [10:36] 演讲者并不试图涵盖所有内容,只是挑选一些零散的片段来帮助人们向上攀登。
  • [11:06] 一个不完美的教程仍然可以以一种有趣且引人入胜的方式让人们接触各种主题,并促使他们提出更多问题。
  • [11:43] 演讲者已经帮助成千上万的人继续他们的编程之旅,并计划继续触达尽可能多的人。
  • [11:54] 不是每个人都喜欢变装、化妆或演讲者的沟通风格,但每个人都有自己独特的东西可以带来,比如一项爱好、一个观点、一种文化或一门语言。

鼓励个人内容创作

  • [12:10] 鼓励人们制作某种形式的内容,并将自己融入其中。
  • [12:19] 内容不必遵循标准的编程教程格式;它可以是一个关于最喜欢的 JavaScript 框架的 30 秒 TikTok 视频,或者是一张发布在 Instagram 上的网络工具绘图。
  • [12:35] 现有的教程很容易让人以为内容必须遵循某种特定方式,但你可以随心所欲地去做。
  • [12:35] 演讲者的变装与大多数变装相当不同,他们以一种非传统的方式制作编程教程。
  • [12:35] 变装的本质是颠覆性的,演讲者将这一点带入了技术内容创作中。
  • [13:08] 整合内容会迫使你深入钻研并理解其中的细微差别,这对你在工作中获得领导机会很有价值。
  • [13:08] 演讲者只是在分享他们看待世界的方式,在眼影盘中看到数组,并希望开阔人们的眼界。
  • [13:38] 在做了大约六年的工程师和两年半的内容创作之后,演讲者认为他们从制作内容中学到的最多。
  • [13:38] 制作内容教会了演讲者成为更好的工程师和沟通者,并带来了诸如在全球性 JavaScript 大会上做主题演讲这样的机会。
姓名更正由Vidleaf审核

已审核2026-10-20。原始字幕仍可在下方查看。

[0:00] 嗨,我是 Anna Lytical,那个令人惊艳又富有教育意义的编程变装皇后,我非常兴奋能在 OpenJS World 与你们相聚。我是一名技术教育内容创作者,我基本上只是制作带有娱乐性代码示例的视频。我分享我的编程之旅,并帮助他人走他们的路。偶尔,我也会发一些非常尖刻的推文,吐槽技术领域中让我烦恼的事情。但在我开始之前,这可能是你们许多人第一次看到变装。变装只是一种玩转自我表达、颠覆性别的方式,对我来说,就是非常夸张,真正展现我的完整个性。它是 LGBTQ+ 群体的标志性元素,而我是其中一员,骄傲快乐,但任何人都可以做变装,无论其性别或性取向如何。我知道这番话很长,但如果我开场说的那些话已经吸引了你对我那些在 Twitter、YouTube、Instagram 和 TikTok 上的迷人编程内容的注意。你可以在 @TheAnatLytical 找到我,你也可以直接谷歌搜索“coding drag queen”,我就会出现在结果中。我想给你们所有人一个机会,通过一个可能熟悉的视角来学习新东西。我们要做一些编程,然后我们要化一些妆,我们真的要把它们结合起来做。一旦我们完成这些,我想你就会对我的内容风格有很好的了解,我们就可以

[1:30] 如何不被它吓倒,以及如何将你自己的个性融入其中。我要向你们展示我今天是如何打造这个华丽的紫色眼影妆容的。这就是计划。所以我得去把它卸掉,这样我们才能开始。但我马上回来。嗨,我回来了。你知道吗,我敢打赌你们所有人都认为 JavaScript 非常强大。好吧,对于任何一位变装皇后来说,它在眼影和睫毛面前都不值一提。对于任何程序,我们需要我们的包,我们需要材料。而这真的就是你能弄到的任何东西,如果你想跟着做的话。所以我们需要一个眼影盘,最好是非常多彩的,如果你能弄到一个扁平的、更像扁平的那种。遮瑕膏、睫毛,这些真的会让一切出彩。我们需要睫毛胶来粘住它们。一支眼线笔和睫毛膏。如果你觉得这已经有很多包了,那你可不想看到打造这整套幻想所需的一切,甚至只是到这一步。但通过眼影盘的所有材料和导入,理想情况下,如果你要去找一个,你可以找到一个非常多彩的。这个非常多彩。有时你必须导入第二个包才能获得那个功能,就像,我真的很喜欢这个,因为它有非常漂亮的……

[2:47] 这里面有非常漂亮的紫色,但我有的另一盘却有所有这些非常漂亮的闪片。所以就像,你知道的,你只能通过代码或化妆品把两者都导入进来。导入另一个包在代码中是有代价的。你知道,它可能会让你的应用变慢、变大,或者让贡献变得更令人困惑。而在化妆品方面,我不知道我在纽约市的公寓里有没有那么多空间来存放所有东西。肯定是有代价的。而且,你知道,导入一个包可能算是免费的,但比如,这些可不是免费的。所以当我想用代码来表示现实世界中的事物时,我喜欢创建一个类。所以这是我的眼睛。好吧,这不是我的眼睛。这是一只眼睛。我在谷歌上搜了一只眼睛。它已经把所有部件都很好地标注好了。所以我们就用它了。有一个围绕主区域的网格,大致覆盖了大部分点位。但还有几个点,比如内眼角,或者也许这上面,或者这下面,没有被覆盖到。所以它们被单独标注了。我们现在先专注于网格的一部分。然后为一只眼睛创建了一个类。我在里面放了一个用于主眼网格的 2D 数组,然后我加了几个单独的变量,只是用来表示是否贴了假睫毛、是否画了眼线,以及一个下睫毛线颜色。这个网格显然非常有用,因为你知道你要把每样东西放在哪里的精确位置,但真正的眼影教程不会说,好吧,去你眼睛的索引 00,用小刷子非常轻柔地涂上粉色。不,不,不。它们

[4:13] 颜色,比如在你的眼窝或外眼角 V 区。所以我添加了几个常见区域。有眼睑、外眼角 V 区、内眼角、眼窝和外缘区域。现在我们有了网格的基础,以及网格内甚至网格外的区域,让我们添加一个函数 apply color。它会接收一个颜色和一个区域,并使用 for each 循环把颜色应用到整个区域。我们可能还想获取那个区域的颜色。所以我在这里加了一个 getter。在我们真正开始把妆容打印出来之前还有最后一件事。我知道我们很兴奋。我们只需要一个打印函数,这样我们就能看到发生了什么,检查我们的进度。我们会保持相当简单。我们只是对我们的 2D 数组使用标准的打印。使用模板字符串打印出下睫毛线颜色。我们会根据是否画了眼线和贴了假睫毛来有条件地打印。天哪,是化妆时间了。我先创建一个新的眼睛对象。我这里有两个,但我们现在只处理一个。我们要拿一些这种浅紫色和蓬松刷,然后我们就拿它涂遍这个较浅的区域。现在这完成之后我们可以继续,我要用稍微更

[5:21] 密实的刷子。我要去取这个,就像真的,真的鲜艳的紫色。我肯定要小心使用它,因为否则可能会变得非常脏乱。所以我只是把它轻轻按压上去。我知道我说过要在整个眼窝上做这个,但我有点喜欢只做在两侧。现在我们可以就这样留着,但为了得到更自然的效果,*放屁声* 自然。好吧,我想为了得到更精致的效果,我们要把这些晕染开。所以是时候来一个新函数了。我们要在我们的函数中取两个区域,它们将是我们的输入,我们会获取它们的颜色,然后同样,因为这是相当基础的,我们只是把字符串加起来。没什么太花哨的。我要拿一把新刷子,真正开始把它晕染开。

[6:07] 谢谢。好了。现在那好多了。它非常柔和,所有边缘都真正模糊了。现在我们需要再加一点深度。我要从这里取出更深的那一个。所以我要把它涂到我的外眼角 V 区。只是非常精确地控制放在哪里。放在哪里,但就像你知道的,最终如果你整个眼睛都是紫色,你会看起来很棒,你会感觉很棒。然后我会把眼窝和外眼角 V 区晕染开。现在这看起来很棒,我们可以停在这里,但我是一个变装皇后,我是说,我满脸都是紫色,还有紫色头发,嗯,所以我想更大胆更夸张,而做到这一点的一个方法就是用闪片,但现在我的眼睛上有很多东西在同时进行,所以我们要做一个截断式眼窝。这是一个非常热门和流行的化妆术语,但它只是意味着我们要重置我们的一些区域。一旦它们被重置,我们就可以涂上闪片,让它真正出彩。我们需要为我们的截断式眼窝所在的位置添加一个新区域。所以它基本上就像是眼睑的边缘,然后也许内眼角也有一点。然后我们把它重置为一个空字符串。不过用化妆品的话,你只要拿起你的遮瑕膏,你可以直接涂在眼睛上,或者拿起你的斜角刷或任何平头刷,你基本上就是把它勾勒出来,然后

[7:23] 空间,它就更锐利、更分明了。现在到了我最喜欢的部分,闪片眼影。闪片其实你甚至不需要刷子。我前面有点提到过,你可以直接用手指,这样弄的时候你能得到更多的颜色和鲜艳度。所以我就用手指轻轻点上去。对于更小的区域,你可以用你的小指蘸取,效果会很好。现在我们需要添加的最后颜色就是下睫毛线,所以我可以拿,我没有那种,要用更硬一点的刷子来做这个,这样它就不会弄得到处都是。然后我就把它沿着那里拖过去。我要在镜头外贴上我的假睫毛和画眼线,为我的完成妆容做最后的修饰,当然我也会画另一只眼睛。

[8:03] 但我马上就回来。嗨!我回来了,美美的!对。完整的妆容就在这里。我们只是稍微整理了一下。这只眼睛我其实都没怎么弄。这就是睫毛的力量。但除此之外,我只是把它复制到了另一只眼睛上。还贴了些指甲。这里我们也有了最终的代码。我相信你一定迫不及待地想知道这一切的输出是什么,那么……给你!我觉得,你知道,谁驾驭得更好还真难说,但只要我们俩都觉得自己美美的,那就……

[8:46] 在我心里完全胜出。不过是的,我感受到了我的紫色幻想,也感受到了我的教学幻想。非常感谢你让我教你一点化妆,或者也许是一点代码。这就是我做的事。我拿一些人们熟悉的东西,也许是化妆,也许是变装喜剧。对看这个视频的大多数人来说,可能是 JavaScript 代码,然后我把它和一些新东西结合起来。我把我热爱的一切拿出来,帮助人们与他们也热爱的事物建立联系,并表明,你知道,化妆和代码并没有那么不同。编程可以很有创意,而且并没有某一类特定的人才能成为工程师。你知道,我把成为优秀工程师的道路,甚至帮助别人成为优秀工程师的道路,看作一架梯子。每一级台阶可能都很清晰,你知道,但有时候梯级之间似乎隔得很远,或者也许梯子看起来很高,或者,你知道,也许你把梯子落在了棚子里,甚至不知道棚子在哪里。这可能是进入科技行业的典型梯子。这是一条非常容易的——或者说不是容易,但它是,你知道,一条非常标准的路径。也许从计算机科学入门开始,也许学一些数据结构,也许上一门算法课,某种软件工程或 Web 开发课程,然后找份工作。但你知道,只有当你拥有走这条路所需的全部知识和资源时,这才行得通。你甚至可能不知道你需要上其中一些课程,可能会被落下。这可能是刚接触编程的人的梯子。也许他们知道,你知道,一些免费的在线资源,比如 Free Code Camp。他们想也许自己可以上一门课,但你知道嘛,也许他们甚至太

[10:16] 他们觉得自己没有正确的知识去进入这个领域。而且即使在计算机科学入门课上,梯级之间也可能隔得很远,仅仅为了学完每一课。那可能感觉像是你在拼命伸展,远远超出你手臂能够到的范围。那真的很吓人。所以这就是我的内容发挥作用的地方。我填补这些空白,帮助人们看到一条继续前进、继续攀登的路,而且还能从中获得乐趣,因为编程有很多乐趣,我不想让人们忘记这一点。我只是填补空白。我并不试图涵盖一切,因为你知道,如果我想以完美的方式传播我所有的计算机科学和编程知识,那会花我很长时间。我只是挑选一些零碎的知识,帮助人们爬上那架梯子。即使在这个教程里,也许你并没有学到所有的眼影技巧和晕染之类的,但它实际上以一种有趣且吸引人的方式让你接触了这些主题。而且我发现,如果它不完美,实际上会让人们想要问更多问题。有人可能会说:“如果我们想做整个脸部呢?我们要怎么表示它?”或者“我们能不能输出一张图像,而不只是那个数组的文本?”或者“我们甚至能不能反过来,拍一张眼影的照片,把它变成代码?”

[11:36] 还有更复杂的问题,但人们更愿意参与,也会把问题问得更深入。谢谢。我已经帮助成千上万的人继续他们的编程之旅,我打算继续尽可能多地接触更多人。但你知道吗?不是每个人都喜欢变装、化妆或我的沟通风格。你知道,我和我的伴侣总是说,每个人都不一样。你只需要有某种特别的东西可以带到这个领域。但我认为你们所有人都有。也许是一个爱好。也许是一种观点、一种特定的文化,甚至可能只是你说的一种语言。

[12:10] 我真的想鼓励你尝试制作某种形式的内容,并把自己融入其中。它不必是标准编程教程的样子。它可以是一个关于你最喜欢的 JavaScript 框架的 30 秒 TikTok,或者一幅展示不同 Web 工具协同工作的画,然后发到 Instagram 上。我们见过很多现有的教程。我知道我看过很多,而且很容易认为它们必须得是某种样子,但实际上你可以想怎么做就怎么做。我的变装和大多数变装相当不同。很多变装皇后会走进酒吧,对口型表演,但我做编程教程,而且我甚至不以传统方式做这些。从本质上讲,变装是颠覆性的,我也把这一点带入了我的技术内容创作中。

[13:05] 通过编程。而且,自私地说,花功夫去整合某种内容确实会迫使你深入钻研,理解细微之处,并把它解释清楚。如果你在工作中寻找一些领导机会,这真的很有价值。因为如果你能教别人某件事,那是一项非常有价值的技能。不过对我来说,我只是在分享我看世界的方式。我甚至没有教任何那么复杂的东西。我看着我的眼影盘,就只看到数组。我想让人们睁开眼睛。

[13:38] 十年。我当工程师大约六年了,做这种分析性内容已经两年半了。我真的认为我从制作这些内容中学到了最多。它教会我成为更好的工程师、更好的沟通者,并给了我不可思议的机会,比如能够在这个全球性的 JavaScript 大会上做主题演讲,还谈论化妆。谢谢。

查看英文原始字幕

[0:00] Hi, I'm Analytical, the sickeningly entertaining and educational coding drag queen, and I'm so excited to join you at OpenJS World. I am a tech education content creator, and I basically just make videos with entertaining code examples. I share my programming journey and help others on theirs. And occasionally, I have very snarky tweets about things that bother me in tech. But before I start, this might be many of your first time seeing drag. And drag is just a way to play with self-expression, subvert gender, and for me, be very extra and really think into my full personality. It's a staple of the LGBTQ+ community, which I am a part of, happy pride, but anyone can do drag regardless of their gender or orientation. I know that was a long spiel, but if the first bitters I would be speaking has grabbed your of my glamorous coding content on Twitter, YouTube, Instagram, and TikTok. You can find me at @TheAnatLytical and you can also just google "coding drag queen" and I will come up. I wanted to give you all an opportunity to learn something new through a lens that might be familiar. We're going to do some coding but then we're going to do some makeup and we're really going to do them together. Once we get through that, I think you'll have a pretty good idea of my style of content and we can

[1:30] how to not be intimidated by it, and how to bring your own personality into it. I'm going to show you how I made this gorgeous purple eyeshadow look today. This is the plan. So I gotta go take it off so we can get started. But be right back. Hi, I'm back. You know what, I bet all of you think JavaScript is so powerful. Well, it has nothing on eyeshadow and eyelashes for a drag queen with any program, we need our packages, we need the materials. And this is really going to be whatever you can get your hands on if you want to follow along. So we'll need an eyeshadow palette, ideally very colorful, If you can get like a flat, more like a flat one. Concealer, eyelashes, these are really gonna Make everything pop. We need the lash glue to adhere them. A liner and mascara. If you think this is a lot of packages, you don't want to see everything it takes to get this full fantasy, even just up to this point. But through all the materials and the imports for the eyeshadow palette, ideally, if you're going to go try to find one, you can find one that's really colorful. This one's really colorful. Sometimes you've got to import a second package to get that one function, and it's like, I really like this one because it has this really nice...

[2:47] There's really nice purple in here, but this other one I have has all these really nice glitters. So it's like, you know, you just got to import both of them with code or with makeup. Importing another package has its costs with code. You know, it could make your app slower or larger or more confusing to contribute to. And with makeup, I don't know that much room in my New York City apartment to keep everything. There is definitely a cost. And also, you know, to import a package can be kind of free, but like, These are not free. So when I like to represent things in the real world with code, I love to make a class. So this is my eye. Well, it's not my eye. It's an eye. I googled an eye. And it has all these parts nicely labeled already. So we're going to stick with it. There's like a grid around like the main area that kind of captures most of the points. But then there are a few points like in the inner corner or maybe up here or like below that aren't captured. So they're labeled separately. Let's just focus on some of the grid for now. And made a class for an eye. I threw a 2D array in there for that main eye grid, and then I added a few individual variables just to indicate if the lashes are applied, the liner is applied, and then a lower lash line color. The grid is obviously very helpful because you know the precise location for where you're going to put everything, but a real eyeshadow tutorial isn't going to be saying, okay, go to index 00 of your eye and apply pink very gently with a small brush. No, no, no. They

[4:13] color like in your crease or your outer V. So there are a few common areas I've added. So there's the lid, outer V, inner corner, crease, and the outer area. Now that we've got the basics of our grid and the areas within that grid and even outside there, let's add a function apply color. I will take in a color and an area and use a for each loop to just apply the color to that whole area. We might also want to get the color for that area. So I added a getter here. One last thing before we actually Start printing the makeup on. I know we are excited. We just need a print function so we can see what's going on, check our progress. We're going to keep things fairly simple. We're just going to use the standard print for our 2D array. Use a template string to print out the lower lash line color. We're going to conditionally print if we've applied our liner and our lashes. Oh my god, it's make up time. I'm going to start out by just making a new eye object. I got two right here, but we're just going to work on one for now. We're going to grab some of this light purple color and fluffy brush and then we're just going to take it and apply it all around this lighter area. Now once this is done we can go in, I'm going to go in with like a bit more of a

[5:21] dense brush. I'm going to go and get this like really the really vibrant purple. I definitely want to be careful with it because otherwise it could get really messy. So I'm just going to kind of stamp that in. And I know I said I was going to do this on the whole crease, but I kind of like to do it just on the sides. Now we could leave it like this But to get a more natural look, *fart noise* natural. Well, I guess to get a more polished look, we want to blend these out. So it's time for a new function. We're going to take the two areas in our function, they'll be our inputs, We'll get their color and then again, because it's kind of rudimentary, we're just going to add the strings. Nothing too fancy. I'm going to grab a new brush and really start to blend this out.

[6:07] Thank you. There. Now that is so much better. It's just so soft and all the edges are really blurred. Now we need to add just a little bit more depth. I'll pull the darker one from in here. So and I'm going to just apply that to my outer V. It's just being very precise of where. where I'm putting things but like you know in the end if you've got purple all over your eye you're gonna look great you're gonna feel great. I will then just blend the crease and the outer v. Now this is looking great we could stop here but I am a drag queen I mean I've got purple all over my face and purple hair um so I want to go bigger and bolder and one way to do that is with glitter but right now there's kind of a lot of stuff going on on my eye so we're gonna do a cut crease. It a very hot and trending makeup term, but it just means we're going to reset some of our areas. Once they're reset, we can apply glitter and have it really pop. We're going to need to add a new area for where our cut crease will be. So it's basically like kind of the edge of the lid and then maybe in the inner corner a little bit. And then we just reset that to an empty string. With makeup though, you just grab your concealer and you can put it directly on your eye or grab your angled brush or any kind of flat brush and you just basically carve it out and

[7:23] space and it's so much sharper and defined. Now on to my favorite part, the glitter eyeshadows. You don't even really need a brush for glitter. I kind of mentioned this earlier, you can just take your finger and you get a lot more color and vibrancy when you do it like this. So I just kind of take my finger and tap it on gently. And for a smaller area, you could just grab it on your pinky and it'll be great. Now the final colors that we need to add is just the lower lash line so I can take I don't have any like to use like a more like firm brush for this so it doesn't get everywhere. And then I'm just going to go drag it around there. I'm going to go apply my lashes and liner off camera, do any finishing touches for my completed look, and I'll also obviously do the other eye.

[8:03] but I will be right back. Hi! I'm back and beautiful! Yeah. The completed look is here. We just cleaned up things a little bit. I really didn't even do that much on this eye. It's like the power of the lash. But other than that, I just duplicated it on the other eye. threw on some nails. Here we've also got the final code. And I'm sure you are eagerly awaiting to find out what the output of all of this is, and... here you go! I think, you know, it's a tough call of who wore it better, but as long as we're both feeling beautiful, it's...

[8:46] fully win in my books. But yes, I'm feeling my purple fantasy and I'm also feeling my teaching fantasy. Thank you so much for letting me teach you a little bit about makeup or maybe a little bit about code. And this is what I do. I take something that people know, maybe it's makeup, maybe it's drag, comedy. For most of you watching this video, it's probably JavaScript code, and I combine it with something new. I take all the things that I love and help people draw connections to things that they love and show that, you know, makeup and code aren't that different. Coding can be creative and there isn't a specific kind of person that can be an engineer. You know, I view the path as to becoming a great engineer or to even helping someone become a great engineer as a ladder. Each step might be clear, you know, but sometimes the rungs seem really far apart or maybe the ladder seems really tall or, you know, maybe you left your ladder in the shed and don't even know where the shed is. This might be the typical ladder into tech. It's a very easy one or not easy, but it's, you know, a very standard path there. Maybe start intro CS, maybe do some data structures, maybe an algorithms course, some kind of software engineering or web development course, and then get a job. But you know, that only works if you have all the knowledge and the resources available to take that path. You may not even know about some of those courses that you need to take and might get left out. This might be the latter for someone who's just getting into coding. Maybe they know about, you know, some of the free online resources like Free Code Camp. They think maybe they could take a class, but you know what, maybe they're even too

[10:16] they think they don't have the right knowledge to go into it. And even in the intro CS class, the rungs could be really far apart just to get through each lesson. It might feel like you're stretching so far beyond what your arms reach. And that's really scary. So this is where my content comes in. I fill in the gaps and I help people see a way to keep moving on, keep climbing, and also just have fun with it because there's a lot of fun to be had with coding and I don't want people to forget about that. I just fill in the gaps. I don't try to cover everything because, you know, it would take me forever if I wanted to try to disseminate all of my computer science and coding knowledge in the perfect way. I just pick bits and pieces and help people up that ladder. Even with the tutorial Maybe you didn't get all the eyeshadow tips and the blending and all of that, but it actually got you exposed to the subjects in a way that's interesting and engaging. And I find that it actually gets people to want to ask more questions if it isn't perfect. Someone might say, "What if we wanted to do the whole face? How would we represent that?" Or "Could we output an image instead of just that text of the array?" Or "Could we even do the reverse, take a picture of eyeshadow and turn it into code?"

[11:36] there are more complex problems, but people are more willing to engage and will also go deeper with their questions. Thank you. I've helped thousands of people continue on their coding journey, and I plan to keep reaching as many as I can. But you know what? Not everyone's into drag or makeup or my communication style. You know, my partner and I always say everyone's different. And you just have to have something special you could bring to the space. But I think all of you have that. Maybe it's a hobby. Maybe it's a point of view, a specific culture, or even it could just be a language that you speak.

[12:10] And I really want to encourage you to try making some form of content and bringing yourself into it. And it doesn't have to be what a standard coding tutorial looks like. It could be a 30-second TikTok about your favorite JavaScript framework or a drawing of different web tools working together and post that on Instagram. We've seen plenty of existing tutorials. I know I've gone through so many and It's really easy to think that they have to be a certain way, but really you could do it however you want. My drag is pretty different than most drag. A lot of drag queens will go into a bar, lip sync, but I make coding tutorials and I don't even do those in the traditional way. At its root, drag is subversive, and I've taken that into my technical content creation, too.

[13:05] by coding. Also, Selfishly, doing the work to put together some kind of content really forces you to dive deeper and understand the nuances and explain it well. This is really valuable if you're looking for some leadership opportunities at your job. Because if you can teach someone something, that's a really valuable skill. To me, though, I'm just sharing how I see the world. I'm not even teaching anything that complex. I look at my eyeshadow palettes, and I just see arrays. And I want to open people's eyes up.

[13:38] decade. I've been working as an engineer for about six years and I've been creating this content as analytical for two and a half. And I really think I learned the most from making this content. It's taught me to be a better engineer, better communicator, and has given me incredible opportunities like being able to give the keynote at this worldwide JavaScript conference and Talk about makeup. Thank you.

在Vidleaf工作台中打开

搜索转录文本,选择行,复制带时间戳的引文,翻译。

在工作台中打开 →

署名

主题演讲:迷人的 JavaScript:化妆与编程教育 - Anna Lytical,由 OpenJS Foundation 发布(https://www.youtube.com/@openjsfoundation),依据 CC BY 3.0 许可(https://creativecommons.org/licenses/by/3.0/)。源视频:https://www.youtube.com/watch?v=SpzN47A7gqg。本页是该视频的文本转录,添加了段落分隔和时间戳;创作者与 Vidleaf 无关联,也不为其背书。Vidleaf 添加了 AI 标点和 AI 生成的摘要;原始措辞仍可在本页查看。阅读文本还包含 Vidleaf 经来源核实的姓名更正。

您是创作者或权利持有人吗?请求更正或移除:copyright@vidleaf.app(参见关于这些页面)。

最后更新于