Colors in GIF Loop Coder
lessonDuration 6m 28s
In this lesson we cover the different methods for defining and animating colors in GIF Loop Coder.
Browse
Find courses, lessons, articles, talks, and podcasts.
7,176 resources
Showing 6,289–6,312 · Page 263 of 299
lessonDuration 6m 28s
In this lesson we cover the different methods for defining and animating colors in GIF Loop Coder.
lessonDuration 10m 2s
In Angular, our controllers should be small and focused on the view that it is controlling. We accomplish this by moving as much logic and state as we can into models. Angular 2 introduced observables and async pipes which make it easy to manage state and communicate that directly to our templates. We can start to point our Angular 1 applications in that direction by binding to our models directly from within our controllers. In this lesson, we will see a simple example of this technique and a slightly more advanced case where we lose the lexical reference to the `this` keyword.
lessonDuration 5m 53s
This lesson is a quick tour of the predefined shape objects in GIF Loop Coder.
lessonDuration 5m 44s
In this lesson, we look at how to consolidate different data, such as position and color, into a single vertex array. This becomes more important as we keep adding attributes such as per-vertex data for lighting and textures. We will update the `stride` value in the `vertexAttribPointer` method to accommodate these changes.
lessonDuration 5m 13s
An Angular 2 cornerstone is component driven architecture and how we divide up our features into self-contained components and then fit them together. In this lesson, we will cover the basic structure of a component in an Angular 2 style as we build one from the ground up. Equally important, we will see how to integrate it into our application by adding it to our root component.
lessonDuration 4m 31s
The entry point for any Angular 2 is a single, top-level component that all other components branch off of. We will apply this pattern to our Angular 1.x applications by creating our first component using the `.component` syntax and adding it to our application to serve as our root component.
lessonDuration 5m 31s
Angular 2 leverages new language features in ES6 and TypeScript so that we can organize and express our ideas better. By writing our Angular 1.x application in ES6, we can create a surprising resemblance to an Angular 2 application. To do this, we need to set up Webpack and Gulp to convert our code into something the browser can safely understand. In this lesson, we will learn how to configure Webpack to process our source code and then hook it into Gulp as part of our build system.
lessonDuration 3m 58s
The simplest version of a component in Angular 2 is nothing more than a container for a template. When we need to introduce imperative logic into our component, we do that via an ES6 class. We accomplish the exact same thing in Angular 1.x by using an ES6 class to serve as a controller for a component. In this lesson, we will examine an Angular 2 component to establish the pattern and then illustrate the similarity as we build out our own controller in ES6.
lessonDuration 2m 42s
In this introductory lesson, we will discuss how the architectural concepts of Angular 2 can be applied to AngularJS 1.x. We will also take a brief tour of the concepts that we will be covering in this series as well as how the code is structured per lesson.
lessonDuration 7m 11s
Let's explore a different use of the multicast() operator in RxJS, where you can provide a selector function as a sandbox where the shared Observable is available.
lessonDuration 2m 36s
As a conclusion to this course about RxJS Subjects, lets review when and why should you use them.
lessonDuration 3m 28s
In Angular, we want to keep our controllers lightweight and specific to the view that it is controlling. To accomplish this, we are going to refactor our categories collection into a CategoriesModel. A recurring theme in Angular 2 is that everything is "just a class". When we create our controllers and services in an Angular 2 style, they are also "just a class". We will see this in action as we convert our controller almost verbatim into a service.
lessonDuration 3m 9s
In this lesson, we are going to talk about dependency injection in an Angular application in ES6. There is a gotcha that I want to point out that most people will run into especially if they have not spent a lot of time using a classical language. We will start with a contrived example and then anchor it back into our application when we modify our **CategoriesModel** to use the **$q** service to return a promise.
lessonDuration 4m 55s
In this lesson we will apply a single color per vertex and see how those colors are interpolated across an entire triangle, making use of a new kind of shader variable. We will also see how enabling `gl.DEPTH_TEST` will give our model proper depth by having webGL pay attention to z-values. **Note:** This lesson assumes prior knowledge in WebGL. Check out [Create 3D Graphics in JavaScript Using WebGL](https://egghead.io/courses/create-3d-graphics-in-javascript-using-webgl) for an in depth introduction to WebGL if some of these concepts are feeling unfamiliar.
lessonDuration 3m 57s
In this lesson, we see the benefits of using a 3rd party 3D matrix library for performing 3D matrix transformations.
lessonDuration 2m 28s
In this lesson we look at a better way of writing WebGL shaders - loading them in from script tags rather than concatenating JavaScript strings.
lessonDuration 6m 36s
In this lesson, we look at how to create and apply 3D transformation matrices to rotate and perform other transformations on 3D shapes created in WebgL.
lessonDuration 3m 10s
In this lesson we accomplish some simple user interaction with animated 3D vertices.
lessonDuration 6m 3s
In this lesson, we take a look at a simple way of animating vertices in WebGL by simply changing the values of vertices.
lessonDuration 4m 45s
With the connect() method on a ConnectableObservable, the programmer is responsible for avoiding leaked executions of shared RxJS Observables. This lesson will teach you about refCount(), a handy operator that creates an automatically connected Observable, to avoid manually using connect().
lessonDuration 5m 19s
The way we use publish() (or multicast with an RxJS Subject) makes the shared Observable not reusable if the shared execution happens to complete or emit an error. In this lesson we will see how to use a simple Subject factory function in order to create a new Subject, one for each shared execution, whenever connect() is called.
lessonDuration 4m 21s
Because using multicast with a new Subject is such a common pattern, there is a shortcut in RxJS for this: the publish() operator. This lesson introduces publish() and its variants publishReplay(), publishBehavior(), publishLast(), share(), and shows how they simplify the creation of multicasted Observables.
lessonDuration 3m 27s
So far we have been talking briefly about reactions. In this lesson you will learn how reactions can be used to observe state until some condition is met. After that you will see how autorun can be used to automatically trigger side effects. This is used internally by observer as well. We will test this by replacing React with our own handcrafted rendering which is still kept in sync with the state by MobX!
lessonDuration 1m 33s
Passing down stores through each layer of components can be a tedious job. This lesson demonstrates how Provider can be used to automatically connect observer based components to stores, by leveraging React's context mechanism in the background.