1.2 开始第一幅“码绘”——Javascript、p5.js及HTML5简介

本文旨在辨析Javascript、p5.js和HTML5之间的联系和区别。HTML5作为创作环境的基础,主要为网页提供框架。Javascript是一门编程语言,用于编写网页上的程序。而p5.js是建立在JS之上的框架,提供了丰富的工具和库,便于创建互动艺术作品。推荐的学习资源和编辑器也一并给出。
摘要由CSDN通过智能技术生成

Javascript、p5.js及HTML5辨析


在正式学习前,还有必要对我们要用到的几个玩意进行理解和辨析,它们是 Javascript(简称JS), HTML5(简称H5), P5.js (简称P5)

这几个的具体介绍可自行搜索,这里主要是以类比作画来辨析它们之间的联系和区别:

HTML5 ( H5 ): 提供整个创作环境的基础,只要再浏览器上运行的玩意,都需要用HTML语言,而HTML5是目前最新的版本,在本教程中需要用到HTML5的功能并不多,应该说,教程所使用的开发环境已经搭建妥当,不需要我们去做太多操作。当然,学到高级阶段,其实可以用到很多HTML5的功能。

Javascript ( JS ): 一门编程语言,在网页上运行的许多程序都是用这门语言写的,在我们的教程中,JS就相当于支配各种绘画材料的发号施令的规矩和组织方法;为了编写JS语言,还需要用到编辑器,其实任意文本编辑器都可以用来编写JS代码,不过为了方便,推荐notepad++,  sublimeText, 

P5.js(P5):在JS基础上,提供了一套框架以及各种工具,相当于我们要用到的各种绘画材料。


</

  • 3
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
The emphasis of this book will be primarily on learning programming using JavaScript and p5.js and secondarily in creating visuals. The main focus is to teach you how to program so that you can choose to pursue whatever field that you would like with your newly established skill set. The skills that you will acquire from this book are highly transferrable and can be used with whatever you choose to build: whether web applications, programmable robots, or generative art. This means that I will provide you with enough context so that you can build a strong foundation for programming. But I also won’t hinder your momentum with irrelevant technical or theoretical points. The aim is to build a strong but a minimum viable knowledge to get you running with coding. This is the book that I wished I had available when I was learning coding myself. If you are an artist or a visual designer, this book is perfect for you as you might find the examples we will be building to be directly relevant to your work. If not, this is still a great book for learning programming as the visual nature of the exercises will help you grasp the fundamentals of programming more easily and let you build a strong foundation in a shorter amount of time. This book will present various JavaScript and p5.js features and concepts in the following chapters. The knowledge will be reinforced by building several useful examples like an animation and a data visualization; and as a final project, we will be building a game that can be deployed online using what we learned in this book!
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值