{"id":18562787,"url":"https://github.com/ruby-processing/example-sketches","last_synced_at":"2025-04-10T03:32:11.847Z","repository":{"id":22303445,"uuid":"25638405","full_name":"ruby-processing/Example-Sketches","owner":"ruby-processing","description":"Many of the vanilla processing example sketches have been translated to ruby-processing","archived":false,"fork":false,"pushed_at":"2018-03-03T21:03:40.000Z","size":13502,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T15:52:37.577Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruby-processing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-23T13:30:25.000Z","updated_at":"2021-12-24T03:15:07.000Z","dependencies_parsed_at":"2022-08-21T01:30:13.485Z","dependency_job_id":null,"html_url":"https://github.com/ruby-processing/Example-Sketches","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby-processing%2FExample-Sketches","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby-processing%2FExample-Sketches/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby-processing%2FExample-Sketches/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby-processing%2FExample-Sketches/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruby-processing","download_url":"https://codeload.github.com/ruby-processing/Example-Sketches/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248151153,"owners_count":21056031,"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":[],"created_at":"2024-11-06T22:10:56.192Z","updated_at":"2025-04-10T03:32:06.835Z","avatar_url":"https://github.com/ruby-processing.png","language":"Ruby","readme":"Example-Sketches for processing-2.2.1\n================\nThis repo is essentially obsolete since [JRubyArt][jra] that supports processing-3.3.6 see [JRubyArt-examples][examples]\n\nMany of the vanilla processing example sketches have been translated to ruby-processing, and they are mainly written as 'bare' sketches (ie not class wrapped) in keeping with the original processing.  At runtime these sketches the get wrapped into a Sketch class. Should you prefer you can still write class wrapped sketches, these will work equally well with ruby-processing. Certain sketches must be run with JRuby-Complete (mainly `load_image` and `shader` sketches), this is a [java permissions thing with jruby][]. You should also checkout the [Nature of Code Examples in ruby][] and for the beginner [Learning Processing with Ruby][] for even more examples.\nIncludes autorun Rakefiles, in a console cd outer directory and 'rake' to run all autorun examples or eg 'rake shaders' to just run the shader examples. \n\n### Partial Catalogue (for the lazy)\n\n1. [Basic][]\n\n    1. [structure][]\n    2. [objects][] \n    3. [arrays][]\n    4. [input][]\n    5. [shape][]\n    6. [image][]\n    7. [control][]\n\n2. [Topics][]\n\n    1. [shaders][]\n    2. [lsystems][]\n    3. [advanced data][]\n    \n3. [Libraries][]\n    1. [fastmath][]\n    2. [vecmath][]\n    3. [control-panel][]\n    4. [video][]\n\n4. [JBox2D][]\n\n### User contributions are most welcome\n[Contributions][] add your [own][]\n\n[jra]:https://github.com/ruby-processing/JRubyArt\n[examples]:https://github.com/ruby-processing/JRubyArt-examples\n[Learning Processing with Ruby]:https://github.com/ruby-processing/learning-processing-with-ruby\n[Nature of Code Examples in ruby]:https://github.com/ruby-processing/The-Nature-of-Code-Examples-in-Ruby\n[Contributions]:https://github.com/ruby-processing/Example-Sketches/tree/master/samples/contributed\n[own]:https://github.com/ruby-processing/Example-Sketches/blob/master/CONTRIBUTING.md\n[Basic]:https://github.com/ruby-processing/Example-Sketches/tree/master/samples/processing_app/basics\n[structure]:https://github.com/ruby-processing/Example-Sketches/tree/master/samples/processing_app/basics/structure\n[objects]:https://github.com/ruby-processing/Example-Sketches/tree/master/samples/processing_app/basics/objects\n[arrays]:https://github.com/ruby-processing/Example-Sketches/tree/master/samples/processing_app/basics/arrays\n[control]:https://github.com/ruby-processing/Example-Sketches/tree/master/samples/processing_app/basics/control\n[shape]:https://github.com/ruby-processing/Example-Sketches/tree/master/samples/processing_app/basics/shape\n[input]:https://github.com/ruby-processing/Example-Sketches/tree/master/samples/processing_app/basics/input\n[image]:https://github.com/ruby-processing/Example-Sketches/tree/master/samples/processing_app/basics/image\n[Topics]:https://github.com/ruby-processing/Example-Sketches/tree/master/samples/processing_app/topics\n[lsystems]:https://github.com/ruby-processing/Example-Sketches/tree/master/samples/processing_app/topics/lsystems\n[advanced data]:https://github.com/ruby-processing/Example-Sketches/tree/master/samples/processing_app/topics/advanced_data\n[shaders]:https://github.com/ruby-processing/Example-Sketches/tree/master/samples/processing_app/topics/shaders\n[Libraries]:https://github.com/ruby-processing/Example-Sketches/tree/master/samples/processing_app/library\n[fastmath]:https://github.com/ruby-processing/Example-Sketches/tree/master/samples/processing_app/library/fastmath\n[vecmath]:https://github.com/ruby-processing/Example-Sketches/tree/master/samples/processing_app/library/vecmath\n[video]:https://github.com/ruby-processing/Example-Sketches/tree/master/samples/processing_app/library/video\n[control-panel]:https://github.com/ruby-processing/Example-Sketches/tree/master/samples/contributed/jwishy.rb\n[JBox2D]:https://github.com/ruby-processing/Example-Sketches/tree/master/samples/external_library/ruby_gem/jbox2d\n[java permissions thing with jruby]:https://github.com/jashkenas/ruby-processing/wiki/FAQs\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby-processing%2Fexample-sketches","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruby-processing%2Fexample-sketches","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby-processing%2Fexample-sketches/lists"}