Week 10 -Tusharika

For this week’s homework I downloaded a shoe model that I found on Turbosquid and imported into the substance designer.

screen-shot-2023-04-20-at-2-55-17-am

I followed the instructions and first prepared my file in blender and then imported into substance designer. I did find unwrapping on blender a little difficult as I have never done it before.

screen-shot-2023-04-21-at-10-12-59-am

In Substance designer, I was unable to import the fbx file directly but it worked when I dragged and dropped it.

screen-shot-2023-04-20-at-2-51-26-am

Model: https://www.turbosquid.com/3d-models/women-shoes-3ds-free/647288

Week 8- Tusharika

For this week’s homework, I followed the class instructions, at first I couldn’t get the option render the pipeline assets even though I followed the directions and made sure to download the package, URP assets etc.

screen-shot-2023-04-14-at-4-30-33-pm

But after re-installing the editor it worked out. I really like the patterns and textures available at Free PBR. I tried creating a dining room setting.

screen-shot-2023-04-18-at-10-03-04-am screen-shot-2023-04-18-at-12-58-18-pm

Final Work:

screen-shot-2023-04-18-at-2-01-15-pm

Sources:

Models:

https://www.turbosquid.com/3d-models/large-stone-arch-3d-1908101

https://www.turbosquid.com/3d-models/coffee-table-c4d-free/1091987

https://www.turbosquid.com/3d-models/old-wooden-chair-lowpoly-3d-model-2028528

https://www.turbosquid.com/3d-models/3d-abstract-ceramic-bird-figurine-2022488

https://www.turbosquid.com/3d-models/ufo-spaceship-3d-1962671

Textures:

Patterned BW Vinyl PBR Material

Scuffed Titanium PBR Metal Material

Bird Feathers 2 PBR Material

Worn Blue Burlap PBR Material

 

 

 

Week 9- Tusharika

For this week’s homework, I followed the tutorial to make medieval fabric, I really like making embroidery on various types of fabrics so I really wanted to try this tutorial. While researching I came across the embroidery generator in substance designer which can be helpful in my other classes as well as I can export my work from adobe illustrator and bring it to the substance designer to have the embroidery effect.  In regards to creating the medieval fabric, substance has the tile sampler which has so many options for experimentation. I created a mask by adding the image below as bitmap to make the pattern I liked.

Fabric Pattern designs, themes, templates and downloadable graphic elements on Dribbble

screen-shot-2023-04-02-at-9-19-31-pm

screen-shot-2023-04-02-at-9-37-09-pm screen-shot-2023-04-02-at-9-47-43-pm

screen-shot-2023-04-02-at-10-06-42-pm

At first,I was unable to output the materials as a bitmap at the end and couldn’t figure out if I missed out anything in the tutorial but I was able to render the material, all over the fabric design turned out very well.

Link to the tutorial: https://www.youtube.com/watch?v=Gkzxq7SV1Gw

Final Project Proposal- Tusharika

To accomplish this project, I wish to  get comfortable working with the fundamentals of P5.js and GLSL editor. I plan to start creating different GLSL editors focusing on different calming elements such as sunsets, rain, and cherry blossom trees.

I will use visual techniques such as linear interpolation, noise generation, texture generation, and color manipulation to create visual effects. I will also add an audio file containing calming sounds like waterfalls, rain, and birds to add an immersive and relaxing feel to the video. I may also consider using one of my favourite OST/music over it to create a music video

I believe this project can be a great way to learn and master p5.js while also creating something that is visually appealing and calming for people to enjoy.

Final Assignment Tusharika

For the final assignment I was confused at first as to if I should focus on first half of the semester or not, I think it would be good opportunity to learn and improve p5.js editor.

I remember seeing similar example shown for the music video  as Danny Rozins shared in class, in Museum of Illusions in Chicago, where the keyboard keys change as I came near the artwork.

I started experimenting with the GLSL and p5.js editors and thought it will be great idea to work on the music video to understand the editors better.blue-purple-futuristic-modern-3d-tech-company-business-presentation-1

I wanted to create a music video which showcases different feelings and things that I like, for the first fragment I used one of weekly homework assignment that I submitted which looks like sunrise/sunset.

screen-shot-2023-02-26-at-9-19-09-pm

I wanted the music video to progress into from rain effect to galaxy so based on the rectangle randomness that was taught in class. I started working on the code.

screen-shot-2023-03-26-at-4-58-31-pm-1

The code was set up to loop but I wanted the shapes to be stable and changes colours in order to show that water is going down by changing colour. I experimented a bit if it should be water droplets or water kind of flowing and changed the x and y axis.

screen-shot-2023-03-26-at-5-05-10-pm screen-shot-2023-03-26-at-5-28-58-pmscreen-shot-2023-03-26-at-9-33-01-pm

And then I made from generative concept taught in class I was able to make thunder effect

screen-shot-2023-03-26-at-11-00-41-pm

screen-shot-2023-03-26-at-10-59-08-pm

As I was working more on the shaders thought it will be great to consider more shaders like galaxy etc, have more (7-10) designs

Rainbow:

screen-shot-2023-04-15-at-8-20-33-pm

Eclipse:

screen-shot-2023-04-15-at-8-39-53-pm

Cherry Blossoms:

screen-shot-2023-04-15-at-7-58-09-pm

Then I preloaded and set up my files in p5.js

screen-shot-2023-04-15-at-11-30-28-pm

For some reason, I was unable to load the song as mp3, so I decided to have a separate js file and organize the code in a better manner.

screen-shot-2023-04-15-at-11-44-19-pm

After that I worked on the scenes, I also tried adding interaction with the mouse.

screen-shot-2023-04-15-at-11-56-10-pm

 

Link to the final video: https://drive.google.com/file/d/1NP_-RZBptH7llDqXyA-qK_w2ohMts-fv/view?usp=share_link

 

Week 4 Tusharika

I was really excited to experiment with week 4 exercises as recently I was able to use the shader for one of my assignments for Atelier class where I created a ripple effect using the shader editor (I did took some assistance from a tutorial) and then imported into Touch designer to add some movement to prepare a final version that could be used in our Final Unity Project.

screen-shot-2023-02-04-at-4-00-38-pm screen-shot-2023-02-03-at-8-51-54-am

I also experimented with the obj texture file, I recently made a model through photogrammetry and exported as OBJ model to use in unity, it was amazing to see how the texture looks so different in the image from when once its applied to the model in unity. The coordinates of the textures are gets wrapped on the correct place on the models.

screen-shot-2023-02-16-at-1-20-43-amcactus-fixed

 

I first started working for the class exercises with the cat textures, I was unable to upload image of my own at first and couldn’t figure out what was the issue even though I was logged into my account. So, I made the files from scratch which made me understand better the code and how I can manipulate the code better.

Shader #1:Use shaping functions to do pixel manipulation on an image.

8f6a55aa-8528-4f89-a1d5-1fcc45ac8f0c

I used this image that I clicked last year to experiment with pixel manipulation.

I wanted the image to have less displacement, so I manipulated with the mirror function to see and get the right amount of mirroring within the image

float mirror( float v){

float m = mod(v, 2.0);//This effects the how much the design of the image will be disorted

At the same time I experimented with the speed of the animation and the displacement

screen-shot-2023-02-26-at-6-57-33-amscreen-shot-2023-02-26-at-6-53-02-am

var displacement = dist( mouseX, mouseY, width/2, height/2);//If the mouse X and Y is position is swapped in the displacement function, the design looks more complex
var maxDist = dist( 0, 0, width, height);//if the width and height is not divided by two the displacement is less and the actual image is more visible as an optical illusion
/// this function allows the displacement to be less when the mouse is in the center

myShader.setUniform(“uTime”, millis()/1000);
/// I tried the speed at just 100 for the animation, it looked as if they were was a earthquake and when the mouse was in center it looked like water ripples , once the speed was 2000 it looked quite soothing

screen-shot-2023-02-26-at-7-05-55-am  screen-shot-2023-02-26-at-7-11-11-am

 

https://editor.p5js.org/tusharika.arora/sketches/BHGVKWiIV

 

 

 

Midterm Assignment- Tusharika

Digital Mirror Artwork

For the midterm assignment, I wanted to make the digital mirror artwork, as I like making Face-filters. I usually use Spark AR for making filters. I have never used the coding aspect to create a filter so I thought this assignment is great way to explore coding in p5.js.

Inspiration:

I really like Packet’s work on instagram. I really like distorted bubbles look on the web camera, but I wanted to try something more colourful.

screen-shot-2023-04-16-at-11-51-49-pm How to get this kaleidoscope look? Looking to incorporate into my next music video. : r/cinematography

At first, I wanted to try and make kaleidoscope effect but I thought it will be a great experiment to try and recreate an effect I loved in Museum of illusions in Chicago.

img_2422

So to begin the assignment, I first started in p5.js I set the cam with tex

screen-shot-2023-04-17-at-3-19-15-am

Tried adding plane color shader which change over time.

 

screen-shot-2023-04-17-at-3-53-51-am

screen-shot-2023-04-17-at-4-01-36-am

screen-shot-2023-04-17-at-9-07-39-am screen-shot-2023-04-17-at-9-07-57-am

I tried adding the grids GlSL directly to the p5.js and the code wasn’t working, later I realized that code needs to be referenced properly in sketch.js for the code to work.

tile tile

I took random tile images instead, preloaded  and created grids with code.

screen-shot-2023-04-17-at-9-57-24-pm screen-shot-2023-04-17-at-10-24-31-pm

I realized that code was very specific to a camera filter and does not involve shaping the filter to match the object in front of the camera. However,  the goal is to create a custom camera filter that matches the shape of the object in front of the camera, so I tried working on additional code to be written to capture the shape of the object and apply it as a mask to the filter.

screen-shot-2023-04-17-at-10-24-31-pm

I couldn’t figure out why the code was not as responsive to camera so I tried adding a mask then after some research  and going through p5js references, I tried adding Camera offset to the code and then I was able to make the Digital mirror as I hoped it would be.

screen-shot-2023-04-17-at-10-56-15-pm

Link to the final work: https://editor.p5js.org/tusharika.arora/sketches/kogHu6lAg

 

 

Week 3 Tusharika

Shader #1

After reading the article “how does is make it feel generative art?” by Amy Goodchild’s blog, I noticed that most of the times the end result of the code is usually through happy little accidents so I made sure that this time I approached working with Inspiration.

screen-shot-2023-02-11-at-9-19-52-pm

For the first shader, I took this painting by Piet Mondrian made in 1930, composition with red, blue and yellow as an inspiration and wanted to try to re-create this in the colours I find soothing.

I worked my way through the class exercise with making the squares, adding the mix() and utime.

screen-shot-2023-02-10-at-10-53-39-pm screen-shot-2023-02-10-at-10-53-50-pm screen-shot-2023-02-10-at-11-19-07-pm

I experimented with with how the code be organized better and made some silly mistakes, while coding the drawMultiplerect function, I couldn’t figure out for a few minutes why the code suddenly stopped working and understood my silly mistake that I didn’t return the result.

screen-shot-2023-02-10-at-11-34-43-pm

I ended up this work for the composition, I preferred less square and added some of my favourite colours than the ones in the painting, this can be considered my adaption version of the work. I experimented with the colours and the background specifically.

Shader #2

screen-shot-2023-02-11-at-12-02-38-am

While working for shader 2 I took Inspiration from Angela Johan’s Vibrant Geometry work shown above, I started working through the grid shared from class, I thought It will a good idea to experiment in making the opposite work from the inspiration.

screen-shot-2023-02-10-at-11-39-35-pm

I started first with grid function and experiment with the number of grids in the code to see how it impacts the all over work and had colours totally opposite from the composition, similar with orientation the rectangles were placed horizontally.

screen-shot-2023-02-10-at-11-44-39-pm screen-shot-2023-02-10-at-11-45-00-pm screen-shot-2023-02-10-at-11-48-00-pm screen-shot-2023-02-10-at-11-48-51-pm

After some experimentation with the grid lines, I started working different colour values.

screen-shot-2023-02-11-at-6-28-48-pm

I ended up having happy little accident in this work as I experimented with the if statements
if( true ){ // the results with false and true were very different and resulted in this amazing grid

// skew the canvas a bit on the y axis
st = st0;
st.y += st.x* 2.854;

// do the drop step pattern:
// shift every odd colum a half-step
if( mod(index.x, 1.896)==-1.328){
st.y += 0.148;
}

// recalculate the grid
// after the drop pattern

st = st * vec2(2., 2.); // 1.
index = floor(st); // 2.
st = fract(st); // 3.

The utime added a loop animation which changes colours starting from blue, pink and light off white on the right and gradually becomes darker. It was a great learning point that the Boolean – true/false can influence the end result a lot.

screen-shot-2023-02-11-at-6-29-12-pm screen-shot-2023-02-11-at-6-30-05-pm

 

 

Week 2 Tusharika

HSB Color and Animating the HSB Color

While working I didn’t have a proper plan as to what  I was expecting the end result to look like. I started experimenting with the shaping functions. While I was working with the amt and fact, I couldn’t have the x and the y fraction at the same time. I tried different styles but the only editor only runs then latest amt code.

screen-shot-2023-01-28-at-12-47-51-pm

Then when I started working the HSB code, the most satisfying part was to be able to play with various colours in the shader. The picture below reminded me how if a screen is not function or broken the colours would pop up like this on a TV screen or Netflix is being opened.

screen-shot-2023-01-29-at-11-46-36-pmscreen-shot-2023-01-30-at-12-05-08-am

Then I just started using u time to animate on the side and just experimented with the colours, I preferred the animation and colours to be in a circular manner as it looked like optical illusion.

hsb.r = floor(-u_time+d*-3.)/10.;

if the multiplied value is negative it was animates from outwards to inwards direction, the number is also the number of colours that will be shown at a time.

screen-shot-2023-01-30-at-12-24-45-am screen-shot-2023-01-30-at-12-25-53-am

When I replaced the floor in the code with sin, the texture was very smooth and kind of blur on the edges

screen-shot-2023-01-30-at-12-28-55-am

vec3 rgb = clamp(abs(mod(c.x*1780876777777865555555555.0+vec3(2.783,3.444,4.000), ///Used to change the colours of the gradient
6.624)-5.896)-1.832,

just to experiment I kept on adding random number to see how the colours will look at the end, the number of colours kept on being multiplied and ended up make the gradient black with a yellow line

screen-shot-2023-01-30-at-1-20-44-amscreen-shot-2023-01-30-at-1-20-22-am

My end result: Sun effect

screen-shot-2023-01-30-at-1-34-41-am

 

Week 1 Tusharika HW

Hello everyone!
It is really interesting to learn the bookofshaders, I usually only explored a little of shaders whenever I had to use gradients in Photoshop which I know is very different in comparison to what we are learning in class. It was good learning process to be able to work with GLSL editor and to be able to experiment with various values in order to create these. The coding process was a little hard at first to understand and keep in mind as the coding pattern that I have been exposed to before is limited and different than the editor. One thing that inspired me was one of the works I did priorly in Visual studio code where I was able to have my shapes on the screen have multi-colour(similar to a gradient effect) and have it changed based on the mouse’s location I got excited with similarity of the components.  The vec3’s colour wheel was very helpful to use and also similar to what I feel comfortable to use as well.
I experimented with the adding ‘st’ in all the color values (for example color.r = st.r), It resulted in a white/blank screen but with having two ‘st’ in color values, the gradient was being made from the central point of the design which I really liked and with adding just one ‘st’ in the color value was giving the basic gradient moving from left to right.
screen-shot-2023-01-26-at-12-44-25-am
screen-shot-2023-01-26-at-12-48-23-am
When I added Vec3 with x,y and z variables, this combination of cut and try gave just an amazing combination of white and indigo which I really found as calming combination.
screen-shot-2023-01-26-at-12-53-52-am
The end results were mostly just cut and try/experimenting with values. It was hard to be able to have the gradient have multiple directional points which is something I would really like to learn to be able to make these complex patterns and designs.
With the help of notion notes, I also tried division with the values and I was able to experiment with how much space each color will have. I liked the overpowering of pink over the green and the black in the edges better.
screen-shot-2023-01-26-at-1-23-03-am screen-shot-2023-01-26-at-1-25-50-am
screen-shot-2023-01-26-at-1-26-06-am