8000 GitHub - Lywa/Genuary: https://genuary2021.github.io
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Lywa/Genuary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Genuary

Using OpenFrameworks for a month.

Challenges from:

https://genuary2021.github.io

GENUARY is an artificially generated month of time where we build code that makes beautiful things.

It happens during the month of January 2021.

For every 24 hour day within this 744 hour timespan, we have prepared a prompt with instructions for you to execute.

You don’t have to follow the prompt exactly. Or even at all. But, y’know, we put effort into this.

You can use any language, framework or medium. Please respect the Geneva Conventions.

I'll upload my daily challenges here:

1st of January

// TRIPLE NESTED LOOP

The first two nested loops create a grid & the third draws a series of squares that start from the same point (x,y) with incremental size within every point in the grid. Additionally, every square alternates colors to create an illusion of depth.

day 1 Baseline colors: B/W

day 1 Baseline colors: B/W + Black background

day 1 Baseline colors: B/W + Gray background

day 1 Custom colors: Purple & White + Salmon background

Watch the video Inveractive version: Move slider to change the depth of the squares (Youtube)

2nd of January

// Rule 30 (elementary cellular automaton)

https://www.wolframalpha.com/input/?i=rule+30

Important reference about Cellular Automaton --> The Nature of Code | Daniel Shiffman https://www.youtube.com/watch?app=desktop&v=W1zKu3fDQR8

day 2 First Generations

Watch the video Inveractive version: Move slider to change the starting Index of the first row of the cellular automaton (Youtube)

day 2 30 cells Cellular Automaton using Rule 30 and an slider

Watch the video Inveractive version: Move slider to change the starting Index of the first row of the cellular automaton (Youtube)

3rd of January

// Make something human

What's more human than emotions? Not too human pixelized smiley faces.

day 3 Pixelized icons using the value of the pixel in greyscale to created different radius' circles.

4rd of January

// Small areas of symmetry

For me Anni Albers' work is always an inspiration. First thing that came to mind when reading today's prompt it was one of Anni's Tapestries. So here it goes!

day 4 Anni Albers Tapestry used as a baseline for today's geometry challenge.

day 4 Randomized tapestry pattern v.1.

day 4 Randomized tapestry pattern v.2.

Watch the video

5th of January

// Do some code golf! How little code can you write to make something interesting? Share the sketch and its code together if you can.

This is a great challenge as writing short code is not exactly my forte. My goal was to created some geometric appeal with the least lines of code possible.

day 5 First iteration drawing circles that increase in size by a counter and change position in relation to a sin and cos function

day 5 Second iteration drawing circles that increase in size by a counter and change position in relation to a sin and cos function

6th of January

// Triangle subdivision.

I wanted to work with replicating geometries, so I used the prompt to create a base module.

day 6 Base module, two overlapping equilateral triangles mirrored from the center of the screen.

day 6

Using translation to rotate the overlapping triangles from the center of the screen. Every frame there is a rotation an a new module drawn.

day 6

Using a different color for each overlapping module.

day 6 Increasing the triangle size at every frame.

Watch the video

7th of January

// Generate some rules, then follow them by hand on paper.

day 7

Set of instructions written to be followed using a grid paper and a pen.

day 7

Instructions followed by another person.

8th of January

// Curves only

The goal for me was to create a brush that would create curves semicircles in different conditions using the mouse position to draw the Polylines.

day8

First brush using the mouse position as center for the semicircle. In this case the drawing was caotic and disorganized.

day8

First brush using the mouse position as center for the semicircle. In this case the drawing was organized and harmonic.

Watch the video

day8

Second brush using 0,0 as the center of the semicircle. Mouse Position changes the radius of the circle and the position.

Watch the video

9th of January

// Interference patterns.

I wanted to keep it simple to ensure the pattern was truly an interference. In a future iteration I'd like to explore kinetic interferences.

day9

2 sets of concentric circles drawn from the 2 thirds of the screen to create an interference.

day9

2 sets of concentric circles drawn from the 2 thirds of the screen to create an interference. Adding depth using colors.

10th of January

// TREE

What best than a tree covered in snow! I wanted redraw an image pixel by pixel using different shapes.

day10

Pixelized tree drawn using squares.

Watch the video

day10 Pixelized tree drawn using overlapping circles.

day10 Pixelized tree drawn using circles.

day10 Pixelized tree drawn using verticle rectangles.

11th of January

// Use something other than a computer as an autonomous process (or use a non-computer random source).

TBD

12th of January

//Use an API (e.g. the weather). Here’s a huge list of free public APIs.

I skipped this one. I've struggled to add an API to OpenFrameworks. I unsuccesfully tried using ofxJSON.

13th of January

//Do not repeat.

I created a line that rotates from the center in a very soothing manner.

Watch the video

14th of January

// SUBDIVISION

day14 I drew consecutive lines that divided the remaining area on the right or below into halves.

day14 I drew consecutive rectangles that divided the remaining area on the right or below into halves.

About

https://genuary2021.github.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0