All Projects → aschinchon → pencil-scribbles

aschinchon / pencil-scribbles

Licence: MIT License
Create pencil effect drawings from pictures using R

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to pencil-scribbles

desert
A fast (?) random sampling drawing library
Stars: ✭ 61 (+103.33%)
Mutual labels:  drawing, generative-art
aRtsy
An R package for making generative art using 'ggplot2'.
Stars: ✭ 142 (+373.33%)
Mutual labels:  ggplot2, generative-art
worlds
Building Virtual Reality Worlds using Three.js
Stars: ✭ 23 (-23.33%)
Mutual labels:  creative-coding, generative-art
FuncMorph
Crazy figures and animations with Haskell
Stars: ✭ 30 (+0%)
Mutual labels:  drawing, creative-coding
microbium-app
Draw new worlds
Stars: ✭ 89 (+196.67%)
Mutual labels:  creative-coding, generative-art
BeatDrop
BeatDrop Music Visualizer
Stars: ✭ 54 (+80%)
Mutual labels:  creative-coding, generative-art
generative-art
🌈🎨 Generative Art is the idea realized as genetic code of artificial events, as construction of dynamic complex systems able to generate endless variations. This is also a nuxt-module (@luxdamore/nuxt-canvas-sketch) - [three.js, tensorflow.js and gsap are not included].
Stars: ✭ 41 (+36.67%)
Mutual labels:  creative-coding, generative-art
2d Differential Growth Experiments
Visual experiments exploring differential growth as a 2D morphogenesis tool.
Stars: ✭ 140 (+366.67%)
Mutual labels:  creative-coding, generative-art
GenerativeArtists
No description or website provided.
Stars: ✭ 22 (-26.67%)
Mutual labels:  creative-coding, generative-art
creative-coding-notebooks
🎨 An authorial collection of fundamental recipes on Creative Coding and Recreational Programming.
Stars: ✭ 17 (-43.33%)
Mutual labels:  creative-coding, generative-art
generative-art
Generative art experiments
Stars: ✭ 113 (+276.67%)
Mutual labels:  creative-coding, generative-art
manyworlds
A scifi-inspired study of signed distanced functions and noise fields in WebGL
Stars: ✭ 24 (-20%)
Mutual labels:  creative-coding, generative-art
react-text-fun
React meets Blotter.js
Stars: ✭ 51 (+70%)
Mutual labels:  creative-coding, generative-art
JRubyArt
JRubyArt a ruby implementation of processing
Stars: ✭ 87 (+190%)
Mutual labels:  creative-coding, generative-art
Sudokus Colored
An experiment in R to color overimposed sudokus
Stars: ✭ 22 (-26.67%)
Mutual labels:  ggplot2, creative-coding
generative-art-Processing
Processingによるアート作品をまとめたリポジトリです.一部の作品はopenFrameworksで書かれています.This is a repository for art portfolio of Processing art. Some of arts are written in openFrameworks, one of the C++ libraries.
Stars: ✭ 31 (+3.33%)
Mutual labels:  creative-coding, generative-art
Ink
Creative coding in Go
Stars: ✭ 115 (+283.33%)
Mutual labels:  creative-coding, generative-art
Urpflanze
A library for developers who want to approach to creative coding, artists who want to approach coding and for those who find it fun to play with math.
Stars: ✭ 118 (+293.33%)
Mutual labels:  creative-coding, generative-art
2d-diffusion-limited-aggregation-experiments
Visual experiments exploring diffusion-limited aggregation (DLA) as a 2D morphogenesis tool.
Stars: ✭ 41 (+36.67%)
Mutual labels:  creative-coding, generative-art
gestalt
Creative coding playground - Color, Note, Code
Stars: ✭ 16 (-46.67%)
Mutual labels:  creative-coding, generative-art

Pencil Scribbles

In this experiment I use an algorithm to solve the Travelling Salesman Problem (TSP) to make a drawing from a picture. It is inspired by this previous one. Briefly, these are the steps:

  • Load the image
  • Transform it to gray scale
  • Obtain a sample of pixels
  • Draw the path obtained solving the TSP for sampled points

Overlapping 250 paths and giving transparency to lines (alpha) the resulting drawing has a pencil effect. For example, if you load this image:

The output is this one:

Getting Started

Prerequisites

The code is R. You will need to install the following packages (if you don't have them already):

install.packages("imager")
install.packages("dplyr")
install.packages("ggplot2")
install.packages("scales")
install.packages("TSP")

More info

A complete explanation of the experiment can be found at fronkonstin

Authors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].