// Ordinarily, you'd generate this data from markdown files in your // repo, or fetch them from a database of some kind. But in order to // avoid unnecessary dependencies in the starter template, and in the // service of obviousness, we're just going to leave it here. // This file is called `_posts.js` rather than `posts.js`, because // we don't want to create an `/projects/posts` route — the leading // underscore tells Sapper not to do that. const posts = [ { title: 'Audio Visualizer', slug: 'audio-visualizer', html: `
WompMacho

Javascript web application utilizing the P5.js libraries to create a visual interpretation of audio. This takes input via microphone or audio being played locally and uses the amplitude of the frequencies to animate lines thats translate into little circles. These circles change color based on the amplitude and fade to alpha when levels are lowered. There is additional CSS animations assisting in the coloring/opacity of the brand name and size manipulation to give the “pulse effect”.

Click on page to enable permissions and allow for audio input. Audio player is available in the bottom left corner.
` } ]; posts.forEach(post => { post.html = post.html.replace(/^\t{3}/gm, ''); }); export default posts;