{"id":18341416,"url":"https://github.com/hamoid/fun-programming","last_synced_at":"2025-05-08T21:28:37.796Z","repository":{"id":2451916,"uuid":"3423030","full_name":"hamoid/Fun-Programming","owner":"hamoid","description":"Code from the Fun Programming creative coding tutorials and my own random sketches","archived":false,"fork":false,"pushed_at":"2021-02-15T18:09:45.000Z","size":87102,"stargazers_count":185,"open_issues_count":0,"forks_count":74,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-02-02T03:57:31.586Z","etag":null,"topics":["creative-coding","processing","supercollider"],"latest_commit_sha":null,"homepage":"http://funprogramming.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hamoid.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-02-12T16:33:25.000Z","updated_at":"2025-01-05T15:32:20.000Z","dependencies_parsed_at":"2022-08-25T16:01:42.301Z","dependency_job_id":null,"html_url":"https://github.com/hamoid/Fun-Programming","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamoid%2FFun-Programming","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamoid%2FFun-Programming/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamoid%2FFun-Programming/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamoid%2FFun-Programming/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hamoid","download_url":"https://codeload.github.com/hamoid/Fun-Programming/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238044095,"owners_count":19407128,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["creative-coding","processing","supercollider"],"created_at":"2024-11-05T20:26:43.862Z","updated_at":"2025-05-08T21:28:37.781Z","avatar_url":"https://github.com/hamoid.png","language":"JavaScript","readme":"\n# Fun Programming\n\nIn this repository you can find:\n\n- Programs written for the [Fun Programming](https://funprogramming.org) video\n  tutorials: [fun-programming](https://github.com/hamoid/Fun-Programming/tree/master/processing/fun-programming)\n- My creative coding experiments: [processing/ideas](https://github.com/hamoid/Fun-Programming/tree/master/processing/ideas).\n  These are not finished work but tests I do while developing a project or experiments done just for fun and out of curiosity.\n  Index below. You can view some results at https://hamoid.com and at http://hamoid.tumblr.com/archive\n\nMost programs here are written using [Processing](http://www.processing.org/).\nSome with [SuperCollider](https://supercollider.github.io/).\nThey are great for creating static / animated / interactive graphics and sound synthesis.\n\nMy current tools include [OPENRNDR](https://openrndr.discourse.group/t/doodles-wall-c/51/3) and [GLSL](https://hamoid.com/post/in-the-mood-for-shaders/).\n\n| ⠏ | ⠑ | ⠁ | ⠉ | ⠑ |\n| --- | --- | --- | --- | --- |\n| [uhmans\u003cbr\u003e\u003cimg src=\"processing/ideas/2006/04/uhmans/.thumb.jpg\" title=\" The oldest Processing sketch in my collection, from 22.04.2006.  It represents humans colectives. They feel good when there is enough distance. When they are too close there is conflict.  One of the first times I used object oriented code. I remember it feeling quite strange :) I was probably using https://github.com/processing/processing/releases/tag/processing-0112   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2006/04/uhmans/) \u003cbr\u003e\u003csub\u003eanimation, concept\u003c/sub\u003e | [bezier Fish\u003cbr\u003e\u003cimg src=\"processing/ideas/2011/05/bezierFish/.thumb.jpg\" title=\" A program originally written in ActionScript (Flash) approximately in year 2000. This used to be my homepage for a while. Ported to Processing in 2011. One of my first sketches.  It draws animated bezier curves in which start, end and control points follow different bezier curves themselves.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2011/05/bezierFish/) \u003cbr\u003e\u003csub\u003eline\u003c/sub\u003e | [noise line\u003cbr\u003e\u003cimg src=\"processing/ideas/2011/08/noise_line/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2011/08/noise_line/) \u003cbr\u003e\u003csub\u003eanimation\u003c/sub\u003e | [translate rotate\u003cbr\u003e\u003cimg src=\"processing/ideas/2011/08/translate_rotate/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2011/08/translate_rotate/)  | [noise is centered\u003cbr\u003e\u003cimg src=\"processing/ideas/2011/09/noise_is_centered/.thumb.jpg\" title=\" The blue line shows that noise spends most of the time at the center (near the value 0.5). Rarely, if ever, it will go to the top or to the bottom.  This is an attempt to fix that. We modify the noise value (n) in a way that the whole range of values is covered: from 0 to 1.  One drawback with this formula is that it's not continuous. It can disappear on the top and then appear on the bottom.  The red line shows the modified noise value.  \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2011/09/noise_is_centered/) \u003cbr\u003e\u003csub\u003etest\u003c/sub\u003e  |\n| [sine acid\u003cbr\u003e\u003cimg src=\"processing/ideas/2011/09/sine_acid/.thumb.jpg\" title=\" Set the color of every pixel on the window based on multiple `sin()` operations applied to the position of the pixel.  This is the kind of programs I used to write in the 90s :-)  Animated. Uses time in the formulas to have an ever changing effect.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2011/09/sine_acid/)  | [sine rainbow\u003cbr\u003e\u003cimg src=\"processing/ideas/2011/09/sine_rainbow/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2011/09/sine_rainbow/)  | [sinecosine\u003cbr\u003e\u003cimg src=\"processing/ideas/2011/10/sinecosine/.thumb.jpg\" title=\" \u0026quot;Spirograph\u0026quot;, \u0026quot;String art\u0026quot; or \u0026quot;pin and thread art\u0026quot;?  Rotate two points around the center at different speeds. Connect the two points with a line of varying color.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2011/10/sinecosine/)  | [sinecosine2\u003cbr\u003e\u003cimg src=\"processing/ideas/2011/10/sinecosine2/.thumb.jpg\" title=\" \u0026quot;Spirograph\u0026quot;, \u0026quot;String art\u0026quot; or \u0026quot;pin and thread art\u0026quot;?  Rotate two points around the center at different speeds. Connect the two points with a line of varying color.  ``` mouse click = restart hold [space] for fade out [s] to save  ```    \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2011/10/sinecosine2/)  | [inf bezier\u003cbr\u003e\u003cimg src=\"processing/ideas/2012/02/inf_bezier/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2012/02/inf_bezier/) \u003cbr\u003e\u003csub\u003eline\u003c/sub\u003e  |\n| [blob\u003cbr\u003e\u003cimg src=\"processing/ideas/2012/04/blob/.thumb.jpg\" title=\" In this sketch I test `curveVertex`  Notice that three Vertices are drawn twice to make it a closed shape.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2012/04/blob/) \u003cbr\u003e\u003csub\u003eanimation\u003c/sub\u003e | [random vs noise\u003cbr\u003e\u003cimg src=\"processing/ideas/2012/04/random_vs_noise/.thumb.jpg\" title=\" This program studies what happens when you use `noise()` or `random()` to define the hue component of a color.  `random()` covers the whole spectrum and you get all kinds of hues.  `noise()` does not cover the whole spectrum. Reds, oranges and yellows are missing.  `snoise()`, a custom function, tries to improve this by stretching the `noise()` values. But red is still missing.  `anoise()` wraps values around `noise()` 10 times to avoid bias towards one color   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2012/04/random_vs_noise/) \u003cbr\u003e\u003csub\u003etest\u003c/sub\u003e | [spline\u003cbr\u003e\u003cimg src=\"processing/ideas/2012/04/spline/.thumb.jpg\" title=\" Attempt to create a keyframe animation system with smooth transitions.  This version correctly passes keyframe locations at the right time, but there is an abrupt speed change when passing keyframes if the duration of the last and the next segment greatly differs.  I tried calculating the segment density (hack, I know) and then adjusting the control point distances to try to counteract the sudden speed changes. Not good :)  Next attempt should use Catmull-Rom spline curves.  Ideas: create Timeline class that contains Segment objects, current segment, current Timeline-time, Segment-time.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2012/04/spline/) \u003cbr\u003e\u003csub\u003eanimation\u003c/sub\u003e | [walking cube\u003cbr\u003e\u003cimg src=\"processing/ideas/2012/04/walking_cube/.thumb.jpg\" title=\" The goal of this sketch is to calculate the right vertical position of a cube (or a square) when it \u0026quot;walks\u0026quot; (rotates) forward and backwards on a hard surface.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2012/04/walking_cube/) \u003cbr\u003e\u003csub\u003eanimation, camera\u003c/sub\u003e | [living Blob\u003cbr\u003e\u003cimg src=\"processing/ideas/2012/05/livingBlob/.thumb.jpg\" title=\" Variation from the sketch \u0026quot;blob\u0026quot; from April 2012.  It uses a texture. Unfortunately it lost its \u0026quot;blobiness\u0026quot; because `curveVertex()` does not implement uv coordinates for using textures, so I switched to `vertex()`.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2012/05/livingBlob/) \u003cbr\u003e\u003csub\u003eanimation, texture\u003c/sub\u003e  |\n| [dragworld\u003cbr\u003e\u003cimg src=\"processing/ideas/2012/06/dragworld/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2012/06/dragworld/) \u003cbr\u003e\u003csub\u003einteractive\u003c/sub\u003e | [Arduino178Children\u003cbr\u003e\u003cimg src=\"processing/ideas/2013/01/Arduino178Children/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/01/Arduino178Children/) \u003cbr\u003e\u003csub\u003earduino\u003c/sub\u003e | [BWJoy\u003cbr\u003e\u003cimg src=\"processing/ideas/2013/02/BWJoy/.thumb.jpg\" title=\" Grayscale variation of my sketch called ColorJoy.  Draw vertical lines covering the whole screen. The brightness of each depends on time, `noise()` and calls to `sin()`.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/02/BWJoy/) \u003cbr\u003e\u003csub\u003eanimation\u003c/sub\u003e | [Barycentric Triangle Mapping\u003cbr\u003e\u003cimg src=\"processing/ideas/2013/02/BarycentricTriangleMapping/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/02/BarycentricTriangleMapping/) \u003cbr\u003e\u003csub\u003egeometry\u003c/sub\u003e | [Color Joy\u003cbr\u003e\u003cimg src=\"processing/ideas/2013/02/ColorJoy/.thumb.jpg\" title=\" Vertical lines covering the whole screen. Their hues depend on the sine of `noise()` of time.  See it live at [hamoid.com](https://hamoid.com/code/2013-colorjoy/)   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/02/ColorJoy/) \u003cbr\u003e\u003csub\u003eanimation\u003c/sub\u003e  |\n| [Melt Writer\u003cbr\u003e\u003cimg src=\"processing/ideas/2013/02/MeltWriter/.thumb.jpg\" title=\" Interactive wet paint simulation experiment. Uses the pixel array. A more efficient approach would use shaders instead.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/02/MeltWriter/) \u003cbr\u003e\u003csub\u003einteractive, paint\u003c/sub\u003e | [Rotation Continuity\u003cbr\u003e\u003cimg src=\"processing/ideas/2013/02/RotationContinuity/.thumb.jpg\" title=\" Create animated patterns by drawing a very long line on the surface of a sphere.  A video of it in [YouTube](https://www.youtube.com/watch?v=AmTHjBQc37Y).   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/02/RotationContinuity/) \u003cbr\u003e\u003csub\u003eanimation, line\u003c/sub\u003e | [words To Shapes\u003cbr\u003e\u003cimg src=\"processing/ideas/2013/06/wordsToShapes/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/06/wordsToShapes/) \u003cbr\u003e\u003csub\u003einteractive, line\u003c/sub\u003e | [upload Image\u003cbr\u003e\u003cimg src=\"processing/ideas/2013/07/uploadImage/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/07/uploadImage/) \u003cbr\u003e\u003csub\u003ephp\u003c/sub\u003e | [Change Var By Name](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/08/ChangeVarByName/) \u003cbr\u003e\u003csub\u003ereflection\u003c/sub\u003e  |\n| [p5tweets\u003cbr\u003e\u003cimg src=\"processing/ideas/2013/08/p5tweets/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/08/p5tweets/) \u003cbr\u003e\u003csub\u003echallenge\u003c/sub\u003e | [gif Anim One\u003cbr\u003e\u003cimg src=\"processing/ideas/2013/10/gifAnimOne/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/10/gifAnimOne/) \u003cbr\u003e\u003csub\u003eloop\u003c/sub\u003e | [anim Gif Mountains\u003cbr\u003e\u003cimg src=\"processing/ideas/2013/11/animGifMountains/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/11/animGifMountains/) \u003cbr\u003e\u003csub\u003eloop\u003c/sub\u003e | [fade With Shader\u003cbr\u003e\u003cimg src=\"processing/ideas/2013/11/fadeWithShader/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/11/fadeWithShader/) \u003cbr\u003e\u003csub\u003eshader\u003c/sub\u003e | [image Distorts Image\u003cbr\u003e\u003cimg src=\"processing/ideas/2013/11/imageDistortsImage/.thumb.jpg\" title=\"  ``` Loads random images from two folders (please configure) to act as textures for painting strokes. The brush size modulates with time.  How I use it: I paint a stroke, if I don't like it, press 'u' to undo, try again. Get into the rhythm. Wait until the stroke paints thin or thick. Observe. Press [SPACE] to change paint colors. Embrace the unpredictable.  Key shortcuts: [DELETE] clears the screen 's'      saves image in TIF format 'u'      undo last stroke [SPACE]  load new random images  Mouse Left mouse button drag to paint a stroke Light mouse button drag to paint darker ```   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/11/imageDistortsImage/) \u003cbr\u003e\u003csub\u003einteractive, paint\u003c/sub\u003e  |\n| [client](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/11/prettyDecentDisplay/client/)  | [server](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/11/prettyDecentDisplay/server/)  | [stm\u003cbr\u003e\u003cimg src=\"processing/ideas/2013/11/stm/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/11/stm/) \u003cbr\u003e\u003csub\u003edataviz\u003c/sub\u003e | [gears\u003cbr\u003e\u003cimg src=\"processing/ideas/2013/12/gears/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/12/gears/) \u003cbr\u003e\u003csub\u003eloop\u003c/sub\u003e | [happyeoy\u003cbr\u003e\u003cimg src=\"processing/ideas/2013/12/happyeoy/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/12/happyeoy/) \u003cbr\u003e\u003csub\u003eloop\u003c/sub\u003e  |\n| [sine Bass Sequence](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/12/sineBassSequence/)  | [sine Bass Sequence](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/12/sineBassSequence/)  | [sparkling Text\u003cbr\u003e\u003cimg src=\"processing/ideas/2013/12/sparklingText/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/12/sparklingText/) \u003cbr\u003e\u003csub\u003eloop, particles\u003c/sub\u003e | [text Randomizer\u003cbr\u003e\u003cimg src=\"processing/ideas/2013/12/textRandomizer/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2013/12/textRandomizer/)  | [avoid\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/01/avoid/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/01/avoid/) \u003cbr\u003e\u003csub\u003eanimation, line\u003c/sub\u003e  |\n| [drawing With Undo Redo\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/01/drawingWithUndoRedo/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/01/drawingWithUndoRedo/) \u003cbr\u003e\u003csub\u003einteractive\u003c/sub\u003e | [undo\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/01/undo/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/01/undo/) \u003cbr\u003e\u003csub\u003einteractive\u003c/sub\u003e | [text Cloud Rotating\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/02/textCloudRotating/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/02/textCloudRotating/) \u003cbr\u003e\u003csub\u003eanimation\u003c/sub\u003e | [voronoi\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/02/voronoi/.thumb.jpg\" title=\" Testing the Voronoi class from Toxiclibs.  The program creates a voronoi triangle mesh on every animation frame based on 20 points moved by the noise() function.  Then it uses the triangles from that mesh to draw translucent lines and points without clearing the screen which results in a somewhat organic morphing shape.  \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/02/voronoi/) \u003cbr\u003e\u003csub\u003etrails\u003c/sub\u003e | [long Gif Anim Loop\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/03/longGifAnimLoop/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/03/longGifAnimLoop/) \u003cbr\u003e\u003csub\u003eloop\u003c/sub\u003e  |\n| [lossy jpg\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/03/lossy_jpg/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/03/lossy_jpg/) \u003cbr\u003e\u003csub\u003etest\u003c/sub\u003e | [revolving\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/03/revolving/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/03/revolving/) \u003cbr\u003e\u003csub\u003edepth, loop\u003c/sub\u003e | [noise Add\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/04/noiseAdd/.thumb.jpg\" title=\" Draw pixels based on noise at different scales to have both small details and large areas of color. Contrast of  size.  \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/04/noiseAdd/)  | [rings Cleaner\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/04/ringsCleaner/.thumb.jpg\" title=\" Simple rings painted with circles.  Trying to have objects that are simultaneously in front and behind others, as by default objects are either in front or behind.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/04/ringsCleaner/) \u003cbr\u003e\u003csub\u003edepth\u003c/sub\u003e | [rings Shadow\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/04/ringsShadow/.thumb.jpg\" title=\" Rings, shadow attempt  Trying to have objects that are simultaneously in front and behind others, as by default objects are either in front or behind.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/04/ringsShadow/) \u003cbr\u003e\u003csub\u003edepth\u003c/sub\u003e  |\n| [rings Which Is Closer\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/04/ringsWhichIsCloser/.thumb.jpg\" title=\" Simple rings made out of rectangles.  Trying to have objects that are simultaneously in front and behind others, as by default objects are either in front or behind.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/04/ringsWhichIsCloser/) \u003cbr\u003e\u003csub\u003edepth\u003c/sub\u003e | [tank Wheels\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/04/tankWheels/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/04/tankWheels/) \u003cbr\u003e\u003csub\u003eloop\u003c/sub\u003e | [Terrain\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/05/Terrain/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/05/Terrain/)  | [rings Blend Mode\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/05/ringsBlendMode/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/05/ringsBlendMode/) \u003cbr\u003e\u003csub\u003edepth\u003c/sub\u003e | [two Diff Reactions To OSCmsgs](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/05/twoDiffReactionsToOSCmsgs/)   |\n| [pshape Vs Toxic\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/06/pshapeVsToxic/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/06/pshapeVsToxic/) \u003cbr\u003e\u003csub\u003etest, performance\u003c/sub\u003e | [envelope\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/07/envelope/.thumb.jpg\" title=\" Shows the use of an Envelope class. It's goal is to animate a value over time. One can specify any number of values and durations of the transitions between those values. Values are interpolated with easeInOutQuad. It's possible to specify the number of repetitions of the sequence.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/07/envelope/)  | [envelope Test\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/07/envelopeTest/.thumb.jpg\" title=\" Shows the use of an Envelope class. It's goal is to animate a value over time. One can specify any number of values and durations of the transitions between those values. Values are interpolated with easeInOutQuad. It's possible to specify the number of repetitions of the sequence.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/07/envelopeTest/)  | [avoid garbage collection](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/08/avoid_garbage_collection/) \u003cbr\u003e\u003csub\u003etest\u003c/sub\u003e | [erase Black Pixels\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/09/eraseBlackPixels/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/09/eraseBlackPixels/) \u003cbr\u003e\u003csub\u003etest\u003c/sub\u003e  |\n| [erase Black Pixels Lookup\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/09/eraseBlackPixelsLookup/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/09/eraseBlackPixelsLookup/) \u003cbr\u003e\u003csub\u003etest\u003c/sub\u003e | [key Pressed Var Vs Func](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/10/keyPressedVarVsFunc/) \u003cbr\u003e\u003csub\u003etest\u003c/sub\u003e | [oral Description Error\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/10/oralDescriptionError/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/10/oralDescriptionError/)  | [oral Description Game\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/10/oralDescriptionGame/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/10/oralDescriptionGame/) \u003cbr\u003e\u003csub\u003eline, loop\u003c/sub\u003e | [loop Of Random Items\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/11/loopOfRandomItems/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/11/loopOfRandomItems/) \u003cbr\u003e\u003csub\u003eloop\u003c/sub\u003e  |\n| [thousand Rects\u003cbr\u003e\u003cimg src=\"processing/ideas/2014/11/thousandRects/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2014/11/thousandRects/) \u003cbr\u003e\u003csub\u003etrails\u003c/sub\u003e | [boxes Are Light\u003cbr\u003e\u003cimg src=\"processing/ideas/2015/01/boxesAreLight/.thumb.jpg\" title=\" This program uses two libraries: Peasycam and https://github.com/nervoussystem/OBJExport  Usage:  - Click and drag the mouse to rotate the camera. Mousewheel to zoom it/out. - Press [space] to save the current camera orientation to a file called `camera.ser`. This file will be loaded when starting the program again. - Press [e] to export `boxesAreLight.obj` to disk - Press [r] to randomize the shape - Press [s] to save the view to `thumb.jpg`  The program in action:   The exported .obj file rendered with Blender   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/01/boxesAreLight/)  | [recursive Boxes\u003cbr\u003e\u003cimg src=\"processing/ideas/2015/01/recursiveBoxes/.thumb.jpg\" title=\" A tiny program that creates complexity via recursion. It exports an .obj file that I rendered using Blender.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/01/recursiveBoxes/) \u003cbr\u003e\u003csub\u003erecursive\u003c/sub\u003e | [stream To FFMPEG](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/01/streamToFFMPEG/)  | [CCGame Iterate001\u003cbr\u003e\u003cimg src=\"processing/ideas/2015/02/CCGame_Iterate001/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/02/CCGame_Iterate001/)   |\n| [scan Line Flood\u003cbr\u003e\u003cimg src=\"processing/ideas/2015/02/scanLineFlood/.thumb.jpg\" title=\" A naive approach for filling closed shapes pixel by pixel.  Interactive. Click on the screen to fill an area.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/02/scanLineFlood/) \u003cbr\u003e\u003csub\u003einteractive, test\u003c/sub\u003e | [gradient\u003cbr\u003e\u003cimg src=\"processing/ideas/2015/03/gradient/.thumb.jpg\" title=\" Creating a simple gradient texture by coloring pixels. To be used as a gradient in other sketches.  (I didn't know how to do this with shaders at the time)   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/03/gradient/)  | [gradient Polygon\u003cbr\u003e\u003cimg src=\"processing/ideas/2015/03/gradientPolygon/.thumb.jpg\" title=\" Making use of a generated gradient texture in polygons. I align the texture to the longest edge of the polygon.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/03/gradientPolygon/) \u003cbr\u003e\u003csub\u003etexture\u003c/sub\u003e | [ellipso rect\u003cbr\u003e\u003cimg src=\"processing/ideas/2015/06/ellipso_rect/.thumb.jpg\" title=\" Animated loop based on code by Jerome Herr at http://p5art.tumblr.com/post/120693457458/ellipsorect-code  I made it bouncy and added particles.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/06/ellipso_rect/) \u003cbr\u003e\u003csub\u003eanimation, loop, particles\u003c/sub\u003e | [grid of combinations\u003cbr\u003e\u003cimg src=\"processing/ideas/2015/06/grid_of_combinations/.thumb.jpg\" title=\" A sketch I made for showing the students at FH Potsdam.  Draws a grid of overlapping rectangles, blurs it, draws it again. That achieves some kind of bloom effect. Uses a limited color palette.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/06/grid_of_combinations/) \u003cbr\u003e\u003csub\u003egrid\u003c/sub\u003e  |\n| [grid of combinations rot\u003cbr\u003e\u003cimg src=\"processing/ideas/2015/06/grid_of_combinations_rot/.thumb.jpg\" title=\" A sketch I made for showing the students at FH Potsdam.  Draws a grid of overlapping rotated triangles, blurs it, draws it again. That achieves some kind of bloom effect. Uses a limited color palette.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/06/grid_of_combinations_rot/) \u003cbr\u003e\u003csub\u003egrid\u003c/sub\u003e | [impossiboligon\u003cbr\u003e\u003cimg src=\"processing/ideas/2015/06/impossiboligon/.thumb.jpg\" title=\" Produces an animated loop cycling through rotating extruded polygons of 3, 4, 5 and 100 sides.  The properties of the polygons are set manually (instead of mathematically) so they match visually. I cared more about getting it done than about the nobel prize.    \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/06/impossiboligon/) \u003cbr\u003e\u003csub\u003eloop\u003c/sub\u003e | [lacuna Noise Logo\u003cbr\u003e\u003cimg src=\"processing/ideas/2015/06/lacunaNoiseLogo/.thumb.jpg\" title=\" Animated cow texture using value noise. There was a time when we opened Lacuna Lab we wanted to have animated logos in the home page. This was an experiment that went nowhere :)  Maybe interesting to point out is the third argument used in noise. It could be only `frameCount * 0.01` but that produces an ugly rythmical pattern typical in the noise in Processing, so what I did was to offset that time by the distance to the center of the screen. This avoids all pixels pausing simultaneously and create some kind of unnoticeable pause-wave instead.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/06/lacunaNoiseLogo/) \u003cbr\u003e\u003csub\u003eanimation\u003c/sub\u003e | [recursive Tree\u003cbr\u003e\u003cimg src=\"processing/ideas/2015/06/recursiveTree/.thumb.jpg\" title=\" Draws an animated loop of an aggresive generative tree.  Not meant for real time consumption but for producing an animated GIF file.  The [space] key randomizes the seed to produce different looking trees.    \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/06/recursiveTree/) \u003cbr\u003e\u003csub\u003eloop, recursive\u003c/sub\u003e | [recursive lines\u003cbr\u003e\u003cimg src=\"processing/ideas/2015/06/recursive_lines/.thumb.jpg\" title=\" I like creating depth by having parts of an image blurry and other parts sharp.  In this case, when the mouse is pressed, the screen is blurred by 1 pixel and covered with a translucent layer of orange, making previously drawn shapes become slightly \u0026quot;lost in fog\u0026quot;, blurred and blended with the background.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/06/recursive_lines/) \u003cbr\u003e\u003csub\u003erecursive\u003c/sub\u003e  |\n| [the Look Of Noise\u003cbr\u003e\u003cimg src=\"processing/ideas/2015/06/theLookOfNoise/.thumb.jpg\" title=\" Draws closed shapes either with ADD or SUBTRACT blend modes. The shape drawn is a circle passed through noise(). Since circles are closed, whatever comes out of noise is also closed. By including time in the noise call the shape moves in the screen.  The `z` key zooms in and blurs. Use it for creating depth. The `a` key sets ADD mode, `o` sets SUBTRACT.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/06/theLookOfNoise/) \u003cbr\u003e\u003csub\u003eanimation, noise, trails\u003c/sub\u003e | [the Look Of Noise Flat\u003cbr\u003e\u003cimg src=\"processing/ideas/2015/06/theLookOfNoiseFlat/.thumb.jpg\" title=\" Draws closed shapes by passing the points of a circle through the `noise()` function.  That value is used as the variable radius of circular shape. The radius decreases over time, so we can draw smaller and smaller shapes as time passes, with the goal of covering the screen, first with large shapes and at the end very small ones.  The colors are read from random photographs found in a folder.  Press `z` during the drawing to blur previous shapes, `[space]` to load a new image for color sampling.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/06/theLookOfNoiseFlat/) \u003cbr\u003e\u003csub\u003eanimation\u003c/sub\u003e | [we\u003cbr\u003e\u003cimg src=\"processing/ideas/2015/06/we/.thumb.jpg\" title=\" Draw a grid by drawing a set of vertical and horizontal lines. Those lines are distorted by using noise. The lines are actually drawn with blend mode ADD in 3 passes, one for red, one for green and one for blue. Each of those passes is slightly offset in the noise space, producing chromatic aberration.  A black and white image is generated with the word \u0026quot;we\u0026quot;. Later the pixels of that image are sampled to decide how bright the R, G and B colors should be, making the word appear in the rendered grid.  Press the `[space]` key to try again with a different seed.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/06/we/) \u003cbr\u003e\u003csub\u003egrid\u003c/sub\u003e | [noise Contours\u003cbr\u003e\u003cimg src=\"processing/ideas/2015/09/noiseContours/.thumb.jpg\" title=\" Creates a noise based quantized image, sort of an elevation-map in black and white. Then applies openCV contours to that image to get vector outlines of the shapes. It sorts them by size to first draw the larger ones, then the smaller ones (otherwise small ones would be occluded by larger ones).  Uses the openCV library from https://github.com/cansik/opencv-processing/releases as the official one is not working (April 14th, 2020)    \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/09/noiseContours/) \u003cbr\u003e\u003csub\u003enoise, opencv\u003c/sub\u003e | [noise Dir Quantized\u003cbr\u003e\u003cimg src=\"processing/ideas/2015/09/noiseDirQuantized/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/09/noiseDirQuantized/) \u003cbr\u003e\u003csub\u003eline, trails\u003c/sub\u003e  |\n| [radial hex\u003cbr\u003e\u003cimg src=\"processing/ideas/2015/09/radial_hex/.thumb.jpg\" title=\" Program that draws glowing curves quantized to 6 possible angles, producing hexagonal shapes.  Mouse click to set the center of rotation.  [space] to clear  's' to save  \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/09/radial_hex/) \u003cbr\u003e\u003csub\u003einteractive, line, trails\u003c/sub\u003e | [particles Noise\u003cbr\u003e\u003cimg src=\"processing/ideas/2015/12/particlesNoise/.thumb.jpg\" title=\" Using the Nature of Code's Vehicle class, draw a number of particles leaving traces on the screen. They move flocking, avoiding each other.  The drawn lines change opacity, thickness and brightness.    \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2015/12/particlesNoise/) \u003cbr\u003e\u003csub\u003eflocking, line, natureofcode, trails\u003c/sub\u003e | [caustic\u003cbr\u003e\u003cimg src=\"processing/ideas/2016/02/caustic/.thumb.jpg\" title=\" Trying to simulate the light at the bottom of the swimming pool.  I treat the the `noise()` value of locations on the screen as their elevation (the elevation of the water moving up and down).  The difference in elevation of a location and the surrounding locations gives the inclination of the water at that point. This inclination refracts the light of ray in certain direction, increasing the brightness at that point.  Slow. Non real-time. A shader could easily do this in real time.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2016/02/caustic/) \u003cbr\u003e\u003csub\u003estatic, refraction, light\u003c/sub\u003e | [Lewitt Drawing](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2016/05/LewittDrawing/)  | [Lewitt Drawing Server](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2016/05/LewittDrawingServer/)   |\n| [non overlapping circles using arrays\u003cbr\u003e\u003cimg src=\"processing/ideas/2016/07/non_overlapping_circles_using_arrays/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2016/07/non_overlapping_circles_using_arrays/)  | [pipe Process Input\u003cbr\u003e\u003cimg src=\"processing/ideas/2016/07/pipeProcessInput/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2016/07/pipeProcessInput/) \u003cbr\u003e\u003csub\u003eviz\u003c/sub\u003e | [two circles line tangents\u003cbr\u003e\u003cimg src=\"processing/ideas/2016/07/two_circles_line_tangents/.thumb.jpg\" title=\" Interactive program showing the tangent lines that connect two circles.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2016/07/two_circles_line_tangents/)  | [copycat\u003cbr\u003e\u003cimg src=\"processing/ideas/2017/01/copycat/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2017/01/copycat/)  | [Midi Viz\u003cbr\u003e\u003cimg src=\"processing/ideas/2017/04/MidiViz/.thumb.jpg\" title=\" I wrote this program to play midi files and visualize the channels, notes and velocities.  There are thousands of files online in `.mid` format. I think it's quite an interesting source of data. We often try to get information out of sound using FFT, but that's a very limited approach which doesn't give us the chords and simultaneous notes being played.  Of course using MIDI has its own limitations. For instance, you don't know if the synths being played have short or long decay, so it can be hard to visualize decaying sounds with precision.  In any case, fun to play with I think.  If you create anything with it, I would be happy if you link it at https://forum.processing.org/two/discussion/comment/116764 for others to see.  \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2017/04/MidiViz/) \u003cbr\u003e\u003csub\u003emidi, shader, viz\u003c/sub\u003e  |\n| [extract Audio With Ffmpeg\u003cbr\u003e\u003cimg src=\"processing/ideas/2017/05/extractAudioWithFfmpeg/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2017/05/extractAudioWithFfmpeg/)  | [hsluv\u003cbr\u003e\u003cimg src=\"processing/ideas/2017/05/hsluv/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2017/05/hsluv/) \u003cbr\u003e\u003csub\u003ecolor\u003c/sub\u003e | [kaleidoscope\u003cbr\u003e\u003cimg src=\"processing/ideas/2017/05/kaleidoscope/.thumb.jpg\" title=\" Shader based polar-coordinates effect applied to video playback.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2017/05/kaleidoscope/)  | [plot3Dfor Jerome\u003cbr\u003e\u003cimg src=\"processing/ideas/2017/05/plot3DforJerome/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2017/05/plot3DforJerome/) \u003cbr\u003e\u003csub\u003estatic\u003c/sub\u003e | [plot3Dorganic\u003cbr\u003e\u003cimg src=\"processing/ideas/2017/05/plot3Dorganic/.thumb.jpg\" title=\" A sketch that draws a huge number of lines of various lengths and colors all starting from the same position is space.  Press [space] to trigger a render, [s] to save the resulting image.  These images were all created with this program by slightly changing the formula.  \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2017/05/plot3Dorganic/) \u003cbr\u003e\u003csub\u003eline, static\u003c/sub\u003e  |\n| [lineshader\u003cbr\u003e\u003cimg src=\"processing/ideas/2017/08/lineshader/.thumb.jpg\" title=\" Modified Line Shader giving it variable width.  Note that it only uses ellipse to draw circles. Comment out the line starting with `shader(` to observe the default rendering.  \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2017/08/lineshader/) \u003cbr\u003e\u003csub\u003eline, shader\u003c/sub\u003e | [lineshader2\u003cbr\u003e\u003cimg src=\"processing/ideas/2017/08/lineshader2/.thumb.jpg\" title=\" Drawing lines of variable stroke-weight with a shader.  The shader is mostly the original line shader from Processing with just two little changes: one to make the line width variable, and another to modulate the color so it doesn't look flat.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2017/08/lineshader2/) \u003cbr\u003e\u003csub\u003eanimation, line, shader\u003c/sub\u003e | [shaded\u003cbr\u003e\u003cimg src=\"processing/ideas/2017/08/shaded/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2017/08/shaded/) \u003cbr\u003e\u003csub\u003eshader\u003c/sub\u003e | [copycat gears\u003cbr\u003e\u003cimg src=\"processing/ideas/2017/10/copycat_gears/.thumb.jpg\" title=\" During the Creative Code Jam (Berlin) sometimes we play the copy cat game. Teams describe to each other an animated loop. A describes a loop to B, and B describes a loop to A. Then we code based on the description. Finally we compare the original to the result. A great exercise in observation, description and coding.  [OPENRNDR port](https://github.com/hamoid/openrndr-template/blob/master/src/main/kotlin/apps/copycat_gears.kt)   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2017/10/copycat_gears/) \u003cbr\u003e\u003csub\u003eloop\u003c/sub\u003e | [bloom Games\u003cbr\u003e\u003cimg src=\"processing/ideas/2017/11/bloomGames/.thumb.jpg\" title=\" Experimenting with shader based post processing using Thomas Diewald's Pixelflow library.  Move the mouse horizontally to control. Start on the right side of the screen then move left.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2017/11/bloomGames/)   |\n| [max Image Saturation\u003cbr\u003e\u003cimg src=\"processing/ideas/2017/11/maxImageSaturation/.thumb.jpg\" title=\" Shows images from a folder with maxed out saturation. Just to find out how they look like.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2017/11/maxImageSaturation/)  | [neighboors\u003cbr\u003e\u003cimg src=\"processing/ideas/2017/11/neighboors/.thumb.jpg\" title=\" Some kind of game of incomplete life attempt, version 1   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2017/11/neighboors/)  | [neighboors2\u003cbr\u003e\u003cimg src=\"processing/ideas/2017/11/neighboors2/.thumb.jpg\" title=\" Some kind of game of incomplete life attempt, version 2   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2017/11/neighboors2/)  | [super Slow Fade Out\u003cbr\u003e\u003cimg src=\"processing/ideas/2017/11/superSlowFadeOut/.thumb.jpg\" title=\" A method for fading out the image very slowly. The speed is configurable in pixels per frame. Slowest would be 1 pixel per frame.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2017/11/superSlowFadeOut/)  | [avoidxmas\u003cbr\u003e\u003cimg src=\"processing/ideas/2017/12/avoidxmas/.thumb.jpg\" title=\" Choose a random point in the screen and start drawing a line there. If you are going to collide with an existing line or with the border of the window, turn to avoid that. If there's no way to avoid collision, respawn somewhere else and try again.  \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2017/12/avoidxmas/) \u003cbr\u003e\u003csub\u003eanimation, line\u003c/sub\u003e  |\n| [avoidxmastree\u003cbr\u003e\u003cimg src=\"processing/ideas/2017/12/avoidxmastree/.thumb.jpg\" title=\" Draws a xmas tree by filling a masked space (`bg.png`) with squiggly width-varying lines. The lines grow trying to avoid colliding until they can no longer move forward. At that point it adds a red dot at the beginning of the line.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2017/12/avoidxmastree/)  | [lineshaderlux\u003cbr\u003e\u003cimg src=\"processing/ideas/2017/12/lineshaderlux/.thumb.jpg\" title=\" A bunch of circles moving across the screen. Rendered with a custom shader for variable stroke width and with two PixelFlow effects.  The circles move at non-constant speed, a bit like frogs crossing the road.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2017/12/lineshaderlux/)  | [shader Breaks Sphere\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/02/shaderBreaksSphere/.thumb.jpg\" title=\" The sketch uses the sphere purely as data ignoring all matrices (therefore the camera doesn't work). The vertex shader calculates a new position of each vertex based on sines and cosines of the original vertex coordinates.  It also shows how to directly use gl_Position to place things in the window.  It makes use of a ShaderReloader class, based on code by Raphaël de Courville. That class shows an error overlay message when the shader does not compile.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/02/shaderBreaksSphere/) \u003cbr\u003e\u003csub\u003eshader\u003c/sub\u003e | [shader Scroll Textured\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/02/shaderScrollTextured/.thumb.jpg\" title=\" A confusing program doing a lot of stuff :) To start press `[space]`.  There's video playing as a source of texture. It uses noise to draw that texture in symmetrical \u0026quot;butterfly like\u0026quot; shapes.  It uses a flow-style shader to smear the result based on hue.  Then the whole result is partially occluded and seen only through a mask full of words. That mask is loaded from disk, but there's an alternative one generated in real time (commented out). The mask scrolls up as the credits of a movie.  The `[enter]` key jumps to a random location in the movie and randomizes noise seed.  The `s` key is used for starting and ending video export. It calls a command line voice synthesizer to speak `start` and `stop`.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/02/shaderScrollTextured/) \u003cbr\u003e\u003csub\u003eshader, video, mask\u003c/sub\u003e | [shader Shadow2 svg\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/02/shaderShadow2_svg/.thumb.jpg\" title=\" Loads an svg into a PShape, then draws that 255 times in various locations on the screen using a gray scale fill color.  That fill color represents depth and it's used by the shader to know where to draw drop shadows. The shader colorizes each shape using a cosine based palette generator.  This is not necessarily a good idea :) It's just an experiment.  Limited to 255 objects (as buffers in Processing are not floating point based).   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/02/shaderShadow2_svg/) \u003cbr\u003e\u003csub\u003eshader\u003c/sub\u003e  |\n| [fft Frag Shader\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/03/fftFragShader/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/03/fftFragShader/) \u003cbr\u003e\u003csub\u003eshader, fft\u003c/sub\u003e | [fft Vert Shader\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/03/fftVertShader/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/03/fftVertShader/) \u003cbr\u003e\u003csub\u003eshader\u003c/sub\u003e | [matrix Multiplication\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/03/matrixMultiplication/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/03/matrixMultiplication/) \u003cbr\u003e\u003csub\u003eviz\u003c/sub\u003e | [simple Tesselation\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/03/simpleTesselation/.thumb.jpg\" title=\" A simple way to tesselate a convex polygon. If we have 7 points defining the contour, then we can create triangles using these vertices: 012, 023, 034, 045, 056.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/03/simpleTesselation/) \u003cbr\u003e\u003csub\u003etesselation\u003c/sub\u003e | [viz Img Color Distrib\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/03/vizImgColorDistrib/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/03/vizImgColorDistrib/) \u003cbr\u003e\u003csub\u003ecolor\u003c/sub\u003e  |\n| [orthocubes\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/04/orthocubes/.thumb.jpg\" title=\" Creates a cloud of cuboids positioned and scaled using `noise()`. The cuboids are shaded with a shader that produces stripes along one axis. The axis is specified as a integer `uniform` between 0 and 2 for each drawn cuboid. You can access a component of a vec3 in a shader by its index, so `pos[0] = pos.x`, `pos[1] = pos.y` and `pos[2] = pos.z`.  Hold down the mouse button to see the effect of `OPTIMIZED_STROKE`. For me the default state of that property in Processing is not the expected one, as `OPTIMIZED_STROKE` produces unwanted side effects when using vertex shaders. If something is not working with your vertex shader I suggest toggling that variable to `ENABLED` and `DISABLED` to see if it has an effect.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/04/orthocubes/) \u003cbr\u003e\u003csub\u003eshader\u003c/sub\u003e | [lines Flying\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/05/linesFlying/.thumb.jpg\" title=\" Written while flying.  Usage: Click. Then click again. Until you get a curve.  It will try to add a curve that starts and ends in previous curves without intersecting them.  Examples painted with Gimp: [one](https://twitter.com/hamoid/status/999749957526663168), [two](https://twitter.com/hamoid/status/999405228729528320).   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/05/linesFlying/) \u003cbr\u003e\u003csub\u003ecurve, intersection\u003c/sub\u003e | [pan Zoom Sketch\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/08/panZoomSketch/.thumb.jpg\" title=\"  A simple class that allows showing a larger PGraphics in a smaller viewport, pan and zoom using the mouse.  This sketch shows 6 such viewports running simultaneously.  \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/08/panZoomSketch/) \u003cbr\u003e\u003csub\u003einteractive\u003c/sub\u003e | [pixelate Shader\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/08/pixelateShader/.thumb.jpg\" title=\" Very minimal shader to pixelate your rendering. Allows setting the resolution using a uniform.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/08/pixelateShader/) \u003cbr\u003e\u003csub\u003eshader\u003c/sub\u003e | [rot Cube Gradient\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/09/rotCubeGradient/.thumb.jpg\" title=\" Painting with the color of lights instead of using fill colors.  The reason to do that is to achieve more depth by painting with gradients instead of flat colors.  Light positions rotate smoothly but with regular jumps to create colors patterns in the drawn cubes.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/09/rotCubeGradient/) \u003cbr\u003e\u003csub\u003etrails\u003c/sub\u003e  |\n| [copycat Split Triangle\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/10/copycatSplitTriangle/.thumb.jpg\" title=\"\"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/10/copycatSplitTriangle/) \u003cbr\u003e\u003csub\u003eanimation, loop\u003c/sub\u003e | [measure Dropped Frames\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/10/measureDroppedFrames/.thumb.jpg\" title=\" An attempt to measure dropped frames. At 60 frames per second we have 16.666 milliseconds to draw everything to our canvas. If it takes longer than that we will be late and the graphics will only make it to the next frame.  With something moving on the screen at constant speed it becomes obvious and disturbing if an animation frame is missing. It feels like a sudden jump.  What I measure in this program is how often draw() gets called, which is not the same as dropped frames. Even if often it takes more than 17 milliseconds for draw() to be called again, there's no visible jump in the screen.  The jumps become obvious when that delay goes about 20 milliseconds.  There seems to be a big drop in my system always at 45 seconds after starting the program.  In Java2D the frequency is much more irregular than in P2D / P3D.  Interacting with any other application while the program runs produces timing irregularities. I have not noticed this in openFrameworks. The animation often feels smoother in the C++ based framework.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/10/measureDroppedFrames/) \u003cbr\u003e\u003csub\u003eanimation, test, fps\u003c/sub\u003e | [spinning Cube Rainbow\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/10/spinningCubeRainbow/.thumb.jpg\" title=\" Slowly rotating 3D cubes painting on a black background. A black translucent line connecting the two cubes compensates by subtracting light from the result.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/10/spinningCubeRainbow/) \u003cbr\u003e\u003csub\u003etrails\u003c/sub\u003e | [transparency Test PShape\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/10/transparencyTestPShape/.thumb.jpg\" title=\" Test transparency in P3D mode with the hints `DISABLE_DEPTH_TEST`, `DISABLE_DEPTH_SORT` and `DISABLE_DEPTH_MASK`.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/10/transparencyTestPShape/) \u003cbr\u003e\u003csub\u003einteractive, transparency, hint, test\u003c/sub\u003e | [Envelope Grid Test\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/11/EnvelopeGridTest/.thumb.jpg\" title=\" A grid version of my envelope class. It is used for animating collections of items simultaneously but with different delays.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/11/EnvelopeGridTest/) \u003cbr\u003e\u003csub\u003eanimation\u003c/sub\u003e  |\n| [Flowers\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/11/Flowers/.thumb.jpg\" title=\" Generate animated flowers when pressing the `space` key. Press `s` to save an image.  \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/11/Flowers/) \u003cbr\u003e\u003csub\u003eanimation\u003c/sub\u003e | [line Normals\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/11/lineNormals/.thumb.jpg\" title=\" Shows how to convert a line strip into a mesh version of the same line strip but with random thicknes per-vertex. Like switching from a thin pen to an ink-brush.  Here two animated versions in p5.js: [one](https://www.openprocessing.org/sketch/632717) and [two](https://www.openprocessing.org/sketch/675134)  And a version in [OPENRNDR](https://github.com/hamoid/openrndr-template/blob/master/src/main/kotlin/p5/p07_lineNormals.kt)   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/11/lineNormals/) \u003cbr\u003e\u003csub\u003egeometry, line, normals, pshape, pvector\u003c/sub\u003e | [ping Pong Shader\u003cbr\u003e\u003cimg src=\"processing/ideas/2018/11/pingPongShader/.thumb.jpg\" title=\" In this sketch I apply horizontal blur and vertical blur multiple times.  It uses something called ping pong buffers. Basically: I draw on buffer A, then draw a horizontally blurred version to buffer B, then draw that one blurred vertically back on buffer A, draw some more stuff on it and repeat.  I blur R, G and B channels slightly differently to produce some kind of chromatic aberration.  Having sharp and blurred objects creates depth.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2018/11/pingPongShader/) \u003cbr\u003e\u003csub\u003eanimation, blur, shader\u003c/sub\u003e | [bidirectional Perlin Noise\u003cbr\u003e\u003cimg src=\"processing/ideas/2019/01/bidirectionalPerlinNoise/.thumb.jpg\" title=\" Noise field. A typical effect is sampling a noise field by using the current pixel coordinates then interpreting the obtained value as an angle to move to a nearby pixel, and keep repeating that operation. The resulting image resembles somewhat roots or branches: lines that converge.  In this case I repeat the process twice, the second time inverting the displacement sign. So for the starting point I obtain two lines instead of one, and they go in exactly opposing directions. The difference is that it looks less like branches or roots because one can not see the beginning of those brances or roots. It's like connecting the branches of two trees together, each branch connecting with a branch in the other tree.  Try changing the sigmoid value between 0.0 and 1.0 for different looks.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2019/01/bidirectionalPerlinNoise/) \u003cbr\u003e\u003csub\u003etest\u003c/sub\u003e | [bump In Circle\u003cbr\u003e\u003cimg src=\"processing/ideas/2019/01/bumpInCircle/.thumb.jpg\" title=\" Draws circles with a bump. The bump is located at an angle defined by the variable `high`. The width of the bump is defined by `overlap`, which is modulated over time to make it more dynamic, while using an offset so not all circles are wide or narrow at the same time, but in sequence instead.  \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2019/01/bumpInCircle/) \u003cbr\u003e\u003csub\u003eanimation\u003c/sub\u003e  |\n| [click To Erase\u003cbr\u003e\u003cimg src=\"processing/ideas/2019/01/clickToErase/.thumb.jpg\" title=\" A program that draws two layers and allows the user to interactively erase the top layer by dragging the mouse while holding the left mouse button down.  It shows an issue with [linear gamma color space](https://ninedegreesbelow.com/photography/test-for-linear-processing.html#painting)   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2019/01/clickToErase/) \u003cbr\u003e\u003csub\u003eblend, gamma, interactive, trails\u003c/sub\u003e | [circular Gradients\u003cbr\u003e\u003cimg src=\"processing/ideas/2019/04/circularGradients/.thumb.jpg\" title=\" Draw a grid of squares covering the window. The color of each square is chosen randomly from a list of colors. The squares are shaded with a circular gradient, implemented in a shader. Then a \u0026quot;tornado\u0026quot; effect is applied to the center of the window, deforming the squares.  There's an artifact when curving some lines that I later [solved](https://creativecodeberlin.github.io/Stammtisch/2019/05/03/ccs061.html) when porting this program to OPENRNDR.  \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2019/04/circularGradients/) \u003cbr\u003e\u003csub\u003eshader\u003c/sub\u003e | [following2D\u003cbr\u003e\u003cimg src=\"processing/ideas/2019/04/following2D/.thumb.jpg\" title=\" A simple class for an object to follow a 2D target and reduce speed when getting near. If the target changes location suddenly the moving object turns towards the new target smoothly.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2019/04/following2D/) \u003cbr\u003e\u003csub\u003eanimation, physics, target\u003c/sub\u003e | [gradient With Vertex\u003cbr\u003e\u003cimg src=\"processing/ideas/2019/04/gradientWithVertex/.thumb.jpg\" title=\" Draw a grid of rectangles covering the screen and maintaining a margin between rectangles and the borders of the window.  The recangles are filled with a gradient and also have a gradient stroke. This is achieved by setting the fill and stroke colors before each call to `vertex()`.  A better approach to gradients is by using shaders, as this technique does not allow rotating the gradient and is heavily influenced by the number of vertices and their order.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2019/04/gradientWithVertex/) \u003cbr\u003e\u003csub\u003estatic, gradient, grid, margin\u003c/sub\u003e | [variable Thickness Lines\u003cbr\u003e\u003cimg src=\"processing/ideas/2019/04/variableThicknessLines/.thumb.jpg\" title=\" Shader based line drawing that produces lines that go from zero strokeWeight to full strokeWeight and back to zero. The program allows reloading the shader by pressing '0', and loading other shaders (if they were present) by pressing other number keys.  Press `r` to randomize, `s` to save.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2019/04/variableThicknessLines/) \u003cbr\u003e\u003csub\u003eline, shader\u003c/sub\u003e  |\n| [Thick Line Test\u003cbr\u003e\u003cimg src=\"processing/ideas/2019/06/ThickLineTest/.thumb.jpg\" title=\" A class for drawing pShape-based lines of variable thickness. The lines are made out of 4D points: x, y for position, z for depth and w for thickness. The program exports an .obj file when pressing the `s` key.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2019/06/ThickLineTest/) \u003cbr\u003e\u003csub\u003edepth, line, obj, pshape, static\u003c/sub\u003e | [crosses\u003cbr\u003e\u003cimg src=\"processing/ideas/2019/06/crosses/.thumb.jpg\" title=\" A program to generate the cover for the [Creative Code Stammtisch 62](https://creativecodeberlin.github.io/Stammtisch/2019/06/07/ccs062.html). Uses 3 point lights to create color gradients. Uses an exponential distribution so there are few large shapes and many small ones.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2019/06/crosses/) \u003cbr\u003e\u003csub\u003estatic\u003c/sub\u003e | [Shader Texture Cube\u003cbr\u003e\u003cimg src=\"processing/ideas/2019/08/ShaderTextureCube/.thumb.jpg\" title=\" Simple shader-based generative texture applied to a rotating 3D cube.  \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2019/08/ShaderTextureCube/) \u003cbr\u003e\u003csub\u003eshader\u003c/sub\u003e | [bezier similarity\u003cbr\u003e\u003cimg src=\"processing/ideas/2019/09/bezier_similarity/.thumb.jpg\" title=\" A mildly interactive sketch. The mouseX position sets the length of the drawn lines. [space] clears the background.  Lines are drawn starting on a circle, the exact point advancing clockwise. For each line it searches for 3 other nearby points at 3 different distances. It does that by first checking the pixel color on a photo at the spawn location. Then it searches three concentric circles in that photo for the most similar color in that virtual circle.  The spawn point and the 3 found points for the basis for a bezier curve. Instead of drawing that bezier curve directly, it interpolates smoothly towards that bezier curve. It does so to avoid jitter and reduce random jumps.  By coming up with different algorithms for moving the spawn point one can produce different aesthetics.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2019/09/bezier_similarity/) \u003cbr\u003e\u003csub\u003eline, bezier, interactive\u003c/sub\u003e | [sin rainbow\u003cbr\u003e\u003cimg src=\"processing/ideas/2019/09/sin_rainbow/.thumb.jpg\" title=\" A basic example of how to get all color hues without using the HSB mode. The variable `t` sets the hue. Then R, G and B are calculated based on `t` by using the `sin()` function.  \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2019/09/sin_rainbow/) \u003cbr\u003e\u003csub\u003ecolor\u003c/sub\u003e  |\n| [draw Donut\u003cbr\u003e\u003cimg src=\"processing/ideas/2019/11/drawDonut/.thumb.jpg\" title=\" A simple method to create a ring-shaped PShape.  \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2019/11/drawDonut/) \u003cbr\u003e\u003csub\u003epshape\u003c/sub\u003e | [layer3D\u003cbr\u003e\u003cimg src=\"processing/ideas/2019/11/layer3D/.thumb.jpg\" title=\" Shows how to work with an animated 3D layer with transparent background which can be displayed multiple times.  \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2019/11/layer3D/) \u003cbr\u003e\u003csub\u003epgraphics\u003c/sub\u003e | [forum call method by name\u003cbr\u003e\u003cimg src=\"processing/ideas/2020/01/forum_call_method_by_name/.thumb.jpg\" title=\" In the Processing forum it was asked how to call a method by name. Here's one example using reflection.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2020/01/forum_call_method_by_name/) \u003cbr\u003e\u003csub\u003ereflection\u003c/sub\u003e | [irregular Line Between Two Points\u003cbr\u003e\u003cimg src=\"processing/ideas/2020/03/irregularLineBetweenTwoPoints/.thumb.jpg\" title=\" A method to draw an animated noise-bent line between two points.  Also shows how to create a square using polar coordinates. That is, how to get the radius of a square for any given angle.  float r = min(1/abs(cos(ang)), 1/abs(sin(ang)));  \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2020/03/irregularLineBetweenTwoPoints/) \u003cbr\u003e\u003csub\u003egeometry, line\u003c/sub\u003e | [ray Intersection\u003cbr\u003e\u003cimg src=\"processing/ideas/2020/04/rayIntersection/.thumb.jpg\" title=\" Geometry. Find out the intersection of two rays.  A ray has an origin (a location where it starts) and a direction. It goes infinitely in that direction.  Like a laser in perfect vacuum.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2020/04/rayIntersection/) \u003cbr\u003e\u003csub\u003egeometry, interactive, intersection, ray\u003c/sub\u003e  |\n| [line Segment Circle Intersection\u003cbr\u003e\u003cimg src=\"processing/ideas/2020/05/lineSegmentCircleIntersection/.thumb.jpg\" title=\" A function to calculate the intersection(s) between a line segment and a circle.   \"\u003e](https://github.com/hamoid/Fun-Programming/blob/master/processing/ideas/2020/05/lineSegmentCircleIntersection/) \u003cbr\u003e\u003csub\u003eline, geometry, circle, intersection, interactive\u003c/sub\u003e \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamoid%2Ffun-programming","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamoid%2Ffun-programming","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamoid%2Ffun-programming/lists"}