Skip to content

HabileStudio/solar-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solar-gen

Artwork generator based on music variables in SVG

What it does

Basically this creates cool shapes and polygons based on musical variables (like amount of bass, volume of rythmic, distortion, etc.) that the user defines. You can then edit in Illustrator, InkScape, etc. Demo here

Technical

  • This is 95% pure JavaScript (ES6) that is (for now) browser-compiled with Babel.
  • It uses very few php but still does, so if you intend to use it locally, you'll need to set up a virtual server like wamp or xamp (php7) and add an .htaccessfile at the root including these:
    SetEnv PHP_VER 7
    #just good practice
    Options -Indexes
    #to get cleaner urls
    RewriteEngine on
    RewriteRule ^$ index.php

And finally change the base_url() function in head.php to reflect your directory structure.

Cool features

  • You can hit randomize to make all cursors go random and quickly create unexpected results.
  • You can export JSON data corresponding to a shape you like.
  • You can import JSON data from a previously exported thing (or create your own at your own risk).
  • You can export to SVG the whole shape, so you can basically make printable material out of it, or work on it on Illustrator, as it is valid and clean SVG markup.

History

We started an internal multimedia project (music, graphic design, animation) called Solar Sound System. It was about visualizing electro music through shapes. The result was: 4 posters and a music video for a piece of music from H. It was done manually on Illustrator and After Effects.

Following this project, we wanted to make a generative version that would follow certain rules, certain variables that are related to music (bassline, melody, distortion, etc.). Then it evolved.

About

Artwork generator based on music variables in SVG

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published