Skip to content

A generative art experiment made using Processing. This artwork is made by shifting the origin of the co-ordinate system, thereby producing the pattern in rotation. One of my first experiments in Processing

Notifications You must be signed in to change notification settings

IllusionInk/Processing_Rotational-Pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Processing - Rotational Pattern

The aim was to emulate a swiss poster pattern I came across on Dribbble. While tinkering around the code, I began to play around with the rotate property and realized I could develop this intricate pattern by rotating the points about an axis; which moves during each iteration of the nested loop.

Method


The process is quite basic and I have outlined it below (the code is commented as well to depict the structure):

  • Illustrate a grid of ellipses with a nested for loop.
  • While generating each elliptical dot , translate the origin of the grid to the center of the eliipse (we are plotting the eliipses in center mode).
  • Plot the ellipse at a further distance (i,j) from this new origin. This helps in the ellipse paths crossing over onto each other.
  • Rotate about the new origin at a fraction of the frame rate (can tweak this as it suits you.)
  • The color is intended to change at odd and even cycles of rotation. Also I am tweaking the opacity to bring the pattern forth slowly.

I played around with the code a lot, before arriving at this final result; it never started in this specific manner as stated above.

Further Notes


  • Key Pressed is used to generate a screenshot whenever needed
  • Save Frame is used to generate frames for compiling the video later

Final Renders


Images

Pattern 1

Sample 1

Pattern 2

Sample 2

Pattern 3

Sample 3

Videos

Rotational Pattern - Daydreaming

Rotational Pattern - Full Version

Tools Used


  • Processing

    Processing is a java based environment for coding in the context of visual arts.
    You can download the tool here.

  • Audacity

    Used the tool for generating a sample from the song Daydreaming by Radiohead.
    tool.

Reference


  • Processing Help Reference. I looked up the reference to understand some of the used concepts like push, pop for interacting with the co-ordiante system.

  • Video Compilation

    A tutorial video I referred, in order to generate a video from a set of images in processing, by the very helpful Daniel Shiffman (check out his channel for some insane Processing content)

Thanks


About

A generative art experiment made using Processing. This artwork is made by shifting the origin of the co-ordinate system, thereby producing the pattern in rotation. One of my first experiments in Processing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published