image_paradise 0.4.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (650) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.md +38 -0
  3. data/README.md +1015 -0
  4. data/USAGE.md +10 -0
  5. data/bin/black_white +10 -0
  6. data/bin/confree_generator +7 -0
  7. data/bin/create_new_image +7 -0
  8. data/bin/display_text_from_this_image +7 -0
  9. data/bin/draw_as_specified_from_the_yaml_file +7 -0
  10. data/bin/embed_the_filename_into_this_image +7 -0
  11. data/bin/image_paradise +7 -0
  12. data/bin/image_paradise_shell +7 -0
  13. data/bin/image_to_ascii +54 -0
  14. data/bin/image_to_pdf +7 -0
  15. data/bin/imageparadise_img2pdf +12 -0
  16. data/bin/img_text +14 -0
  17. data/bin/interlace +7 -0
  18. data/bin/jpg_to_pdf +12 -0
  19. data/bin/magic_card_border +8 -0
  20. data/bin/make_this_image_transparent +7 -0
  21. data/bin/morph_these_images +7 -0
  22. data/bin/optimize_this_image +7 -0
  23. data/bin/quality +7 -0
  24. data/bin/rename_this_file_based_on_metadata_information +7 -0
  25. data/bin/resize_by_percent +10 -0
  26. data/bin/rotate_left +7 -0
  27. data/bin/rotate_right +7 -0
  28. data/bin/round_the_corner +7 -0
  29. data/bin/ruby_montage +7 -0
  30. data/bin/transparent +15 -0
  31. data/doc/README.gen +936 -0
  32. data/doc/todo/TODO_FOR_THE_GTK_GUI.md +9 -0
  33. data/doc/todo/TODO_FOR_THE_IMAGE_PARADISE_PROJECT.md +20 -0
  34. data/doc/todo/TODO_WORK_THROUGH_THESE_LINKS.md +3 -0
  35. data/doc/todo/todo_for_the_libui_gui.md +6 -0
  36. data/image_paradise.gemspec +46 -0
  37. data/images/IMAGE_PARADISE_LOGO.png +0 -0
  38. data/lib/image_paradise/base/base.rb +324 -0
  39. data/lib/image_paradise/cfdg/1dca_pattern.cfdg +48 -0
  40. data/lib/image_paradise/cfdg/3d_coloured_cube.cfdg +95 -0
  41. data/lib/image_paradise/cfdg/a_3D_spiral.cfdg +40 -0
  42. data/lib/image_paradise/cfdg/a_chaotic_city.cfdg +156 -0
  43. data/lib/image_paradise/cfdg/a_coloured_red.cfdg +21 -0
  44. data/lib/image_paradise/cfdg/a_daisy_flower.cfdg +66 -0
  45. data/lib/image_paradise/cfdg/a_decorated_window.cfdg +74 -0
  46. data/lib/image_paradise/cfdg/a_human_profile.cfdg +303 -0
  47. data/lib/image_paradise/cfdg/a_lost_heart.cfdg +28 -0
  48. data/lib/image_paradise/cfdg/a_plant_root.cfdg +26 -0
  49. data/lib/image_paradise/cfdg/a_rather_realistic_forest.cfdg +29 -0
  50. data/lib/image_paradise/cfdg/a_shoreline_next_to_a_forest.cfdg +127 -0
  51. data/lib/image_paradise/cfdg/a_simple_mini_brain.cfdg +17 -0
  52. data/lib/image_paradise/cfdg/a_simple_star.cfdg +22 -0
  53. data/lib/image_paradise/cfdg/adorned_tree.cfdg +58 -0
  54. data/lib/image_paradise/cfdg/adsorption.cfdg +19 -0
  55. data/lib/image_paradise/cfdg/alfabet_free.cfdg +346 -0
  56. data/lib/image_paradise/cfdg/alfreebet.cfdg +229 -0
  57. data/lib/image_paradise/cfdg/algal_flora.cfdg +25 -0
  58. data/lib/image_paradise/cfdg/alien_eyeball.cfdg +15 -0
  59. data/lib/image_paradise/cfdg/alien_flower.cfdg +35 -0
  60. data/lib/image_paradise/cfdg/alphabet_circles.cfdg +38 -0
  61. data/lib/image_paradise/cfdg/alveolo.cfdg +38 -0
  62. data/lib/image_paradise/cfdg/an_icosahedron.cfdg +134 -0
  63. data/lib/image_paradise/cfdg/an_oils_surface.cfdg +48 -0
  64. data/lib/image_paradise/cfdg/ancient_map.cfdg +30 -0
  65. data/lib/image_paradise/cfdg/ancient_scripts_tile.cfdg +96 -0
  66. data/lib/image_paradise/cfdg/angelfish.cfdg +58 -0
  67. data/lib/image_paradise/cfdg/angry_yarn.cfdg +82 -0
  68. data/lib/image_paradise/cfdg/apple_tree_small.cfdg +46 -0
  69. data/lib/image_paradise/cfdg/aqua_star.cfdg +27 -0
  70. data/lib/image_paradise/cfdg/army_explosion.cfdg +25 -0
  71. data/lib/image_paradise/cfdg/arrows_in_quadcity.cfdg +143 -0
  72. data/lib/image_paradise/cfdg/artificial_intelligence.cfdg +41 -0
  73. data/lib/image_paradise/cfdg/askew.cfdg +27 -0
  74. data/lib/image_paradise/cfdg/audio_diagram_waves.cfdg +54 -0
  75. data/lib/image_paradise/cfdg/autumn_fractal.cfdg +39 -0
  76. data/lib/image_paradise/cfdg/baignoire.cfdg +33 -0
  77. data/lib/image_paradise/cfdg/barcode.cfdg +781 -0
  78. data/lib/image_paradise/cfdg/basic_polygon_shapes.cfdg +311 -0
  79. data/lib/image_paradise/cfdg/basic_spreaders.cfdg +52 -0
  80. data/lib/image_paradise/cfdg/basic_square.cfdg +8 -0
  81. data/lib/image_paradise/cfdg/bats_hiding_in_foliage.cfdg +19 -0
  82. data/lib/image_paradise/cfdg/bees.cfdg +61 -0
  83. data/lib/image_paradise/cfdg/bent_squares.cfdg +46 -0
  84. data/lib/image_paradise/cfdg/benzo_dreaming.cfdg +54 -0
  85. data/lib/image_paradise/cfdg/beta_bet.cfdg +645 -0
  86. data/lib/image_paradise/cfdg/big_bang_theory.cfdg +31 -0
  87. data/lib/image_paradise/cfdg/big_pacman.cfdg +70 -0
  88. data/lib/image_paradise/cfdg/bigger_tree.cfdg +64 -0
  89. data/lib/image_paradise/cfdg/binary_connection.cfdg +34 -0
  90. data/lib/image_paradise/cfdg/birch_line.cfdg +57 -0
  91. data/lib/image_paradise/cfdg/blacksmith_masterpiece.cfdg +3 -0
  92. data/lib/image_paradise/cfdg/blocked_rectangles.cfdg +23 -0
  93. data/lib/image_paradise/cfdg/blood_tubes.cfdg +45 -0
  94. data/lib/image_paradise/cfdg/bloom.cfdg +23 -0
  95. data/lib/image_paradise/cfdg/blown_glass_spheres.cfdg +30 -0
  96. data/lib/image_paradise/cfdg/blue_daisies_in_detail.cfdg +101 -0
  97. data/lib/image_paradise/cfdg/blue_galaxy.cfdg +20 -0
  98. data/lib/image_paradise/cfdg/blue_moon.cfdg +36 -0
  99. data/lib/image_paradise/cfdg/boa_feathers.cfdg +53 -0
  100. data/lib/image_paradise/cfdg/bomb.cfdg +75 -0
  101. data/lib/image_paradise/cfdg/boxy_continent.cfdg +111 -0
  102. data/lib/image_paradise/cfdg/bright_coloured_neurons.cfdg +53 -0
  103. data/lib/image_paradise/cfdg/brightness_flower.cfdg +31 -0
  104. data/lib/image_paradise/cfdg/btp_71_beautiful_coloured_lines.cfdg +85 -0
  105. data/lib/image_paradise/cfdg/btp_73.cfdg +76 -0
  106. data/lib/image_paradise/cfdg/bubblesun.cfdg +46 -0
  107. data/lib/image_paradise/cfdg/burning_bush.cfdg +31 -0
  108. data/lib/image_paradise/cfdg/butterflies_in_the_moonlight.cfdg +55 -0
  109. data/lib/image_paradise/cfdg/cardiod_arc.cfdg +44 -0
  110. data/lib/image_paradise/cfdg/cardioid.cfdg +41 -0
  111. data/lib/image_paradise/cfdg/caros_wallpaper.cfdg +46 -0
  112. data/lib/image_paradise/cfdg/cartoony_face_arrays.cfdg +137 -0
  113. data/lib/image_paradise/cfdg/centerfold.cfdg +12 -0
  114. data/lib/image_paradise/cfdg/chain_link_fence.cfdg +31 -0
  115. data/lib/image_paradise/cfdg/chanukah.cfdg +109 -0
  116. data/lib/image_paradise/cfdg/chaos_red_sun.cfdg +42 -0
  117. data/lib/image_paradise/cfdg/chaotic_farn.cfdg +76 -0
  118. data/lib/image_paradise/cfdg/chaotic_fractal_shell.cfdg +41 -0
  119. data/lib/image_paradise/cfdg/charleston.cfdg +182 -0
  120. data/lib/image_paradise/cfdg/ciliasun.cfdg +109 -0
  121. data/lib/image_paradise/cfdg/cipal.cfdg +65 -0
  122. data/lib/image_paradise/cfdg/circuits.cfdg +176 -0
  123. data/lib/image_paradise/cfdg/city_map.cfdg +66 -0
  124. data/lib/image_paradise/cfdg/clifford_torus.cfdg +135 -0
  125. data/lib/image_paradise/cfdg/colonize_flat_colour_pattern.cfdg +14 -0
  126. data/lib/image_paradise/cfdg/colour_blind_squid.cfdg +30 -0
  127. data/lib/image_paradise/cfdg/colour_hole.cfdg +56 -0
  128. data/lib/image_paradise/cfdg/colour_wheel.cfdg +40 -0
  129. data/lib/image_paradise/cfdg/coloured_eyes.cfdg +40 -0
  130. data/lib/image_paradise/cfdg/coloured_forest.cfdg +133 -0
  131. data/lib/image_paradise/cfdg/coloured_tree.cfdg +50 -0
  132. data/lib/image_paradise/cfdg/colourful_lives.cfdg +123 -0
  133. data/lib/image_paradise/cfdg/colourful_neuronal_network.cfdg +32 -0
  134. data/lib/image_paradise/cfdg/complex_city_plans.cfdg +75 -0
  135. data/lib/image_paradise/cfdg/complex_kritworks.cfdg +75 -0
  136. data/lib/image_paradise/cfdg/complex_snowflake.cfdg +61 -0
  137. data/lib/image_paradise/cfdg/conspiracy_theory.cfdg +104 -0
  138. data/lib/image_paradise/cfdg/constellation_grid.cfdg +29 -0
  139. data/lib/image_paradise/cfdg/cool_caterpillar.cfdg +44 -0
  140. data/lib/image_paradise/cfdg/coolcubes.cfdg +70 -0
  141. data/lib/image_paradise/cfdg/crawler_battle.cfdg +93 -0
  142. data/lib/image_paradise/cfdg/crazy_octo.cfdg +48 -0
  143. data/lib/image_paradise/cfdg/cthulhu.cfdg +166 -0
  144. data/lib/image_paradise/cfdg/cubies.cfdg +43 -0
  145. data/lib/image_paradise/cfdg/cubist_sunset.cfdg +55 -0
  146. data/lib/image_paradise/cfdg/curled_tree.cfdg +37 -0
  147. data/lib/image_paradise/cfdg/curls.cfdg +45 -0
  148. data/lib/image_paradise/cfdg/curve_stiched.cfdg +59 -0
  149. data/lib/image_paradise/cfdg/curved_tubes.cfdg +20 -0
  150. data/lib/image_paradise/cfdg/cylinder_city.cfdg +27 -0
  151. data/lib/image_paradise/cfdg/cymbal.cfdg +38 -0
  152. data/lib/image_paradise/cfdg/d_mustard.cfdg +52 -0
  153. data/lib/image_paradise/cfdg/dance_party.cfdg +81 -0
  154. data/lib/image_paradise/cfdg/dance_party_and_background.cfdg +86 -0
  155. data/lib/image_paradise/cfdg/decreasing_aperture.cfdg +16 -0
  156. data/lib/image_paradise/cfdg/delicat_twist.cfdg +13 -0
  157. data/lib/image_paradise/cfdg/demo_text.cfdg +22 -0
  158. data/lib/image_paradise/cfdg/dennis_ritchie.cfdg +294 -0
  159. data/lib/image_paradise/cfdg/diablo.cfdg +47 -0
  160. data/lib/image_paradise/cfdg/different_flowers.cfdg +60 -0
  161. data/lib/image_paradise/cfdg/different_snowflakes_shapes.cfdg +149 -0
  162. data/lib/image_paradise/cfdg/dimensions.cfdg +33 -0
  163. data/lib/image_paradise/cfdg/domino_pieces.cfdg +166 -0
  164. data/lib/image_paradise/cfdg/dong.cfdg +41 -0
  165. data/lib/image_paradise/cfdg/drip_shape.cfdg +24 -0
  166. data/lib/image_paradise/cfdg/earthday2007b.cfdg +49 -0
  167. data/lib/image_paradise/cfdg/edera_circles.cfdg +55 -0
  168. data/lib/image_paradise/cfdg/eight_queens_problem.cfdg +85 -0
  169. data/lib/image_paradise/cfdg/electro_shock.cfdg +88 -0
  170. data/lib/image_paradise/cfdg/enter_the_force_field.cfdg +56 -0
  171. data/lib/image_paradise/cfdg/escargot_fleur.cfdg +98 -0
  172. data/lib/image_paradise/cfdg/european_city.cfdg +63 -0
  173. data/lib/image_paradise/cfdg/evil_eye.cfdg +74 -0
  174. data/lib/image_paradise/cfdg/evolving_coloured_spots.cfdg +47 -0
  175. data/lib/image_paradise/cfdg/excellines_nr2.cfdg +171 -0
  176. data/lib/image_paradise/cfdg/exoplanet_settlement.cfdg +117 -0
  177. data/lib/image_paradise/cfdg/explosion.cfdg +45 -0
  178. data/lib/image_paradise/cfdg/explosion_of_a_megabyte.cfdg +73 -0
  179. data/lib/image_paradise/cfdg/eye_of_katora.cfdg +20 -0
  180. data/lib/image_paradise/cfdg/family_tree.cfdg +169 -0
  181. data/lib/image_paradise/cfdg/feathers.cfdg +17 -0
  182. data/lib/image_paradise/cfdg/ferma_drawings.cfdg +23 -0
  183. data/lib/image_paradise/cfdg/fevrier.cfdg +66 -0
  184. data/lib/image_paradise/cfdg/fibmod.cfdg +25 -0
  185. data/lib/image_paradise/cfdg/field_of_boxes.cfdg +21 -0
  186. data/lib/image_paradise/cfdg/finetre.cfdg +34 -0
  187. data/lib/image_paradise/cfdg/fireblorks.cfdg +37 -0
  188. data/lib/image_paradise/cfdg/first_branch.cfdg +18 -0
  189. data/lib/image_paradise/cfdg/fish_with_coloured_bubbles.cfdg +77 -0
  190. data/lib/image_paradise/cfdg/fishing_lure.cfdg +30 -0
  191. data/lib/image_paradise/cfdg/flake.cfdg +20 -0
  192. data/lib/image_paradise/cfdg/flaming_spiro.cfdg +10 -0
  193. data/lib/image_paradise/cfdg/fleshflower.cfdg +25 -0
  194. data/lib/image_paradise/cfdg/flourescent_fish_btp.cfdg +48 -0
  195. data/lib/image_paradise/cfdg/flow_control_shape.cfdg +45 -0
  196. data/lib/image_paradise/cfdg/flower_galaxy.cfdg +57 -0
  197. data/lib/image_paradise/cfdg/flower_house.cfdg +115 -0
  198. data/lib/image_paradise/cfdg/flower_stories.cfdg +136 -0
  199. data/lib/image_paradise/cfdg/fluctuating_heart.cfdg +87 -0
  200. data/lib/image_paradise/cfdg/fly_agaric.cfdg +22 -0
  201. data/lib/image_paradise/cfdg/forest_and_ocean.cfdg +65 -0
  202. data/lib/image_paradise/cfdg/fractal_fern.cfdg +15 -0
  203. data/lib/image_paradise/cfdg/fractal_shell.cfdg +36 -0
  204. data/lib/image_paradise/cfdg/frost_bite.cfdg +23 -0
  205. data/lib/image_paradise/cfdg/fun_with_paper.cfdg +17 -0
  206. data/lib/image_paradise/cfdg/func_plot.cfdg +59 -0
  207. data/lib/image_paradise/cfdg/funky_squiggle.cfdg +40 -0
  208. data/lib/image_paradise/cfdg/fuzzy_sun.cfdg +47 -0
  209. data/lib/image_paradise/cfdg/galaxy.cfdg +59 -0
  210. data/lib/image_paradise/cfdg/gallery.cfdg +28 -0
  211. data/lib/image_paradise/cfdg/game1_turn6.cfdg +35 -0
  212. data/lib/image_paradise/cfdg/garland.cfdg +42 -0
  213. data/lib/image_paradise/cfdg/general_polygons.cfdg +20 -0
  214. data/lib/image_paradise/cfdg/generational_birds.cfdg +118 -0
  215. data/lib/image_paradise/cfdg/ghostly_spine.cfdg +24 -0
  216. data/lib/image_paradise/cfdg/gift_wrapping.cfdg +46 -0
  217. data/lib/image_paradise/cfdg/glass_cubes.cfdg +33 -0
  218. data/lib/image_paradise/cfdg/gleaming_bush.cfdg +33 -0
  219. data/lib/image_paradise/cfdg/glowing_bush.cfdg +33 -0
  220. data/lib/image_paradise/cfdg/go_grid.cfdg +32 -0
  221. data/lib/image_paradise/cfdg/gold_tiles.cfdg +21 -0
  222. data/lib/image_paradise/cfdg/golden_rectangle.cfdg +19 -0
  223. data/lib/image_paradise/cfdg/golden_sierpinski.cfdg +49 -0
  224. data/lib/image_paradise/cfdg/golgi_stain.cfdg +74 -0
  225. data/lib/image_paradise/cfdg/gothic_bath_tiles.cfdg +14 -0
  226. data/lib/image_paradise/cfdg/grass_land.cfdg +112 -0
  227. data/lib/image_paradise/cfdg/gray_matter.cfdg +110 -0
  228. data/lib/image_paradise/cfdg/great_forest.cfdg +91 -0
  229. data/lib/image_paradise/cfdg/growth.cfdg +46 -0
  230. data/lib/image_paradise/cfdg/gumtree.cfdg +28 -0
  231. data/lib/image_paradise/cfdg/haggards_bull.cfdg +92 -0
  232. data/lib/image_paradise/cfdg/haight_ashbury.cfdg +882 -0
  233. data/lib/image_paradise/cfdg/hair_pattern.cfdg +59 -0
  234. data/lib/image_paradise/cfdg/hairy.cfdg +43 -0
  235. data/lib/image_paradise/cfdg/hairy_branch.cfdg +48 -0
  236. data/lib/image_paradise/cfdg/hands_and_feet.cfdg +49 -0
  237. data/lib/image_paradise/cfdg/happy_new_year.cfdg +3435 -0
  238. data/lib/image_paradise/cfdg/hatagu_lila_spiral.cfdg +27 -0
  239. data/lib/image_paradise/cfdg/hexaeder_triangle.cfdg +43 -0
  240. data/lib/image_paradise/cfdg/hexclouds_textures.cfdg +75 -0
  241. data/lib/image_paradise/cfdg/hextiles.cfdg +73 -0
  242. data/lib/image_paradise/cfdg/hexy_continent.cfdg +83 -0
  243. data/lib/image_paradise/cfdg/human_ballet.cfdg +215 -0
  244. data/lib/image_paradise/cfdg/human_eyes.cfdg +102 -0
  245. data/lib/image_paradise/cfdg/hydra_tail.cfdg +57 -0
  246. data/lib/image_paradise/cfdg/i_like_it_dirty.cfdg +88 -0
  247. data/lib/image_paradise/cfdg/i_pix.cfdg +679 -0
  248. data/lib/image_paradise/cfdg/imaginary_star.cfdg +55 -0
  249. data/lib/image_paradise/cfdg/imaginery_forest.cfdg +61 -0
  250. data/lib/image_paradise/cfdg/impossible_stairs.cfdg +211 -0
  251. data/lib/image_paradise/cfdg/in_the_morning.cfdg +83 -0
  252. data/lib/image_paradise/cfdg/inertial_confinement.cfdg +150 -0
  253. data/lib/image_paradise/cfdg/infected_shell.cfdg +56 -0
  254. data/lib/image_paradise/cfdg/insect_fight.cfdg +316 -0
  255. data/lib/image_paradise/cfdg/insectivore.cfdg +80 -0
  256. data/lib/image_paradise/cfdg/interference.cfdg +43 -0
  257. data/lib/image_paradise/cfdg/interference_fields.cfdg +25 -0
  258. data/lib/image_paradise/cfdg/into_the_deep.cfdg +96 -0
  259. data/lib/image_paradise/cfdg/inverted_decorations.cfdg +85 -0
  260. data/lib/image_paradise/cfdg/irregular_galaxies.cfdg +29 -0
  261. data/lib/image_paradise/cfdg/iso_blocks.cfdg +35 -0
  262. data/lib/image_paradise/cfdg/jewelry_old_style.cfdg +31 -0
  263. data/lib/image_paradise/cfdg/just_some_flowers.cfdg +127 -0
  264. data/lib/image_paradise/cfdg/kaboom.cfdg +40 -0
  265. data/lib/image_paradise/cfdg/kaleidoskop.cfdg +27 -0
  266. data/lib/image_paradise/cfdg/kama_sutra.cfdg +182 -0
  267. data/lib/image_paradise/cfdg/kitakoa_akiyoshi_illusions_roller.cfdg +40 -0
  268. data/lib/image_paradise/cfdg/koch_snowflake.cfdg +11 -0
  269. data/lib/image_paradise/cfdg/kochlea.cfdg +43 -0
  270. data/lib/image_paradise/cfdg/kreepykrawler.cfdg +48 -0
  271. data/lib/image_paradise/cfdg/kw_expanded_explosion.cfdg +46 -0
  272. data/lib/image_paradise/cfdg/lapsang_abstrait.cfdg +51 -0
  273. data/lib/image_paradise/cfdg/laser.cfdg +51 -0
  274. data/lib/image_paradise/cfdg/last_pluto_dream.cfdg +95 -0
  275. data/lib/image_paradise/cfdg/lazy_dust.cfdg +42 -0
  276. data/lib/image_paradise/cfdg/lesson_one_two_three_four.cfdg +217 -0
  277. data/lib/image_paradise/cfdg/lila_lili.cfdg +60 -0
  278. data/lib/image_paradise/cfdg/lindenmayergrassef2_pretty_flowers.cfdg +94 -0
  279. data/lib/image_paradise/cfdg/lines_from_excel.cfdg +136 -0
  280. data/lib/image_paradise/cfdg/looking_out.cfdg +51 -0
  281. data/lib/image_paradise/cfdg/looking_up_in_the_sky.cfdg +43 -0
  282. data/lib/image_paradise/cfdg/lotus_logo.cfdg +49 -0
  283. data/lib/image_paradise/cfdg/lowercased_alphabet.cfdg +565 -0
  284. data/lib/image_paradise/cfdg/luma_smiley.cfdg +563 -0
  285. data/lib/image_paradise/cfdg/maggi_stars.cfdg +11 -0
  286. data/lib/image_paradise/cfdg/mandelbrot_3.cfdg +111 -0
  287. data/lib/image_paradise/cfdg/martini.cfdg +147 -0
  288. data/lib/image_paradise/cfdg/material_studies.cfdg +172 -0
  289. data/lib/image_paradise/cfdg/math_eye.cfdg +30 -0
  290. data/lib/image_paradise/cfdg/matrix_freestyle.cfdg +127 -0
  291. data/lib/image_paradise/cfdg/maze.cfdg +211 -0
  292. data/lib/image_paradise/cfdg/meaculpo.cfdg +46 -0
  293. data/lib/image_paradise/cfdg/medieval_madness.cfdg +140 -0
  294. data/lib/image_paradise/cfdg/menage_a_trois.cfdg +77 -0
  295. data/lib/image_paradise/cfdg/micky_mouse.cfdg +75 -0
  296. data/lib/image_paradise/cfdg/mistletoe_forest.cfdg +62 -0
  297. data/lib/image_paradise/cfdg/mixed_simple_bubbles.cfdg +20 -0
  298. data/lib/image_paradise/cfdg/mod4g_starhole.cfdg +27 -0
  299. data/lib/image_paradise/cfdg/moebius.cfdg +57 -0
  300. data/lib/image_paradise/cfdg/molecules.cfdg +30 -0
  301. data/lib/image_paradise/cfdg/momos_blossom.cfdg +70 -0
  302. data/lib/image_paradise/cfdg/mona_lisa.cfdg +7937 -0
  303. data/lib/image_paradise/cfdg/more_arrows_in_quadcity.cfdg +49 -0
  304. data/lib/image_paradise/cfdg/more_cats.cfdg +1002 -0
  305. data/lib/image_paradise/cfdg/mosaic_for_2D_games.cfdg +69 -0
  306. data/lib/image_paradise/cfdg/mr_bezier.cfdg +195 -0
  307. data/lib/image_paradise/cfdg/mtree.cfdg +33 -0
  308. data/lib/image_paradise/cfdg/multiple_triangles.cfdg +13 -0
  309. data/lib/image_paradise/cfdg/mycel.cfdg +88 -0
  310. data/lib/image_paradise/cfdg/mytohexagone.cfdg +56 -0
  311. data/lib/image_paradise/cfdg/nature_is_not_like_that.cfdg +48 -0
  312. data/lib/image_paradise/cfdg/negative_flowers.cfdg +85 -0
  313. data/lib/image_paradise/cfdg/neo_town.cfdg +41 -0
  314. data/lib/image_paradise/cfdg/nesting_pattern.cfdg +34 -0
  315. data/lib/image_paradise/cfdg/neuronal_network.cfdg +94 -0
  316. data/lib/image_paradise/cfdg/neuronal_root.cfdg +46 -0
  317. data/lib/image_paradise/cfdg/night.cfdg +82 -0
  318. data/lib/image_paradise/cfdg/nightwalker.cfdg +23 -0
  319. data/lib/image_paradise/cfdg/no_xcape.cfdg +41 -0
  320. data/lib/image_paradise/cfdg/noise.cfdg +12 -0
  321. data/lib/image_paradise/cfdg/octopodi.cfdg +51 -0
  322. data/lib/image_paradise/cfdg/octopussy.cfdg +49 -0
  323. data/lib/image_paradise/cfdg/oldschool_cartoon_figure.cfdg +181 -0
  324. data/lib/image_paradise/cfdg/open_shapes.cfdg +240 -0
  325. data/lib/image_paradise/cfdg/orange_blossom.cfdg +57 -0
  326. data/lib/image_paradise/cfdg/orange_guts.cfdg +43 -0
  327. data/lib/image_paradise/cfdg/orange_monster.cfdg +42 -0
  328. data/lib/image_paradise/cfdg/organic.cfdg +30 -0
  329. data/lib/image_paradise/cfdg/ouo_happy_smiley.cfdg +45 -0
  330. data/lib/image_paradise/cfdg/output.png +0 -0
  331. data/lib/image_paradise/cfdg/pacman.cfdg +18 -0
  332. data/lib/image_paradise/cfdg/palmen.cfdg +162 -0
  333. data/lib/image_paradise/cfdg/pandoras_box.cfdg +53 -0
  334. data/lib/image_paradise/cfdg/papillon_butterfly.cfdg +28 -0
  335. data/lib/image_paradise/cfdg/patchwork.cfdg +32 -0
  336. data/lib/image_paradise/cfdg/pattern_grass.cfdg +110 -0
  337. data/lib/image_paradise/cfdg/peau_de_grenouille.cfdg +16 -0
  338. data/lib/image_paradise/cfdg/penrose_tiling.cfdg +102 -0
  339. data/lib/image_paradise/cfdg/pentagon.cfdg +68 -0
  340. data/lib/image_paradise/cfdg/pentagons.cfdg +25 -0
  341. data/lib/image_paradise/cfdg/perspective_tsunami.cfdg +20 -0
  342. data/lib/image_paradise/cfdg/phi_cloud.cfdg +23 -0
  343. data/lib/image_paradise/cfdg/picnic_birds_eye_view.cfdg +132 -0
  344. data/lib/image_paradise/cfdg/ping_pong.cfdg +29 -0
  345. data/lib/image_paradise/cfdg/pink_blossom.cfdg +58 -0
  346. data/lib/image_paradise/cfdg/piupole.cfdg +77 -0
  347. data/lib/image_paradise/cfdg/plotting.cfdg +61 -0
  348. data/lib/image_paradise/cfdg/point_onto_root.cfdg +64 -0
  349. data/lib/image_paradise/cfdg/primitive_reptile_pattern.cfdg +96 -0
  350. data/lib/image_paradise/cfdg/psycho_knot.cfdg +20 -0
  351. data/lib/image_paradise/cfdg/pyramide.cfdg +67 -0
  352. data/lib/image_paradise/cfdg/pythagoras_puzzle.cfdg +17 -0
  353. data/lib/image_paradise/cfdg/pythagorean_tree.cfdg +70 -0
  354. data/lib/image_paradise/cfdg/qimica.cfdg +64 -0
  355. data/lib/image_paradise/cfdg/quad_green_satellite.cfdg +53 -0
  356. data/lib/image_paradise/cfdg/quadcity.cfdg +24 -0
  357. data/lib/image_paradise/cfdg/quiet_wood_town.cfdg +195 -0
  358. data/lib/image_paradise/cfdg/r180.cfdg +26 -0
  359. data/lib/image_paradise/cfdg/r45.cfdg +26 -0
  360. data/lib/image_paradise/cfdg/r_square.cfdg +36 -0
  361. data/lib/image_paradise/cfdg/rads.cfdg +33 -0
  362. data/lib/image_paradise/cfdg/rainbow_black_hole.cfdg +9 -0
  363. data/lib/image_paradise/cfdg/rainbow_sun.cfdg +9 -0
  364. data/lib/image_paradise/cfdg/random_handwriting.cfdg +50 -0
  365. data/lib/image_paradise/cfdg/random_tile_shapes_jens_revisited.cfdg +146 -0
  366. data/lib/image_paradise/cfdg/rays_attack.cfdg +29 -0
  367. data/lib/image_paradise/cfdg/razpad.cfdg +20 -0
  368. data/lib/image_paradise/cfdg/rectangular_distortion.cfdg +169 -0
  369. data/lib/image_paradise/cfdg/recurse_path.cfdg +38 -0
  370. data/lib/image_paradise/cfdg/red_flurry.cfdg +64 -0
  371. data/lib/image_paradise/cfdg/red_horse_tail.cfdg +36 -0
  372. data/lib/image_paradise/cfdg/red_yellow_mosaic.cfdg +26 -0
  373. data/lib/image_paradise/cfdg/rendering_tests.cfdg +183 -0
  374. data/lib/image_paradise/cfdg/repeat_floor_tile_pattern.cfdg +153 -0
  375. data/lib/image_paradise/cfdg/repeat_tile.cfdg +160 -0
  376. data/lib/image_paradise/cfdg/retro_disc.cfdg +736 -0
  377. data/lib/image_paradise/cfdg/ring_growth_variation.cfdg +41 -0
  378. data/lib/image_paradise/cfdg/robot_nightlife.cfdg +25 -0
  379. data/lib/image_paradise/cfdg/rolled_firespiral.cfdg +34 -0
  380. data/lib/image_paradise/cfdg/rose.cfdg +44 -0
  381. data/lib/image_paradise/cfdg/round_tree.cfdg +121 -0
  382. data/lib/image_paradise/cfdg/rubiks_cube.cfdg +120 -0
  383. data/lib/image_paradise/cfdg/ruins.cfdg +19 -0
  384. data/lib/image_paradise/cfdg/sails_and_the_sea.cfdg +27 -0
  385. data/lib/image_paradise/cfdg/salt_crystals.cfdg +26 -0
  386. data/lib/image_paradise/cfdg/saturn.cfdg +105 -0
  387. data/lib/image_paradise/cfdg/scary_pot.cfdg +49 -0
  388. data/lib/image_paradise/cfdg/schematic_worm.cfdg +35 -0
  389. data/lib/image_paradise/cfdg/school_script.cfdg +359 -0
  390. data/lib/image_paradise/cfdg/seahorse.cfdg +78 -0
  391. data/lib/image_paradise/cfdg/seasons.cfdg +115 -0
  392. data/lib/image_paradise/cfdg/segmental_veins.cfdg +66 -0
  393. data/lib/image_paradise/cfdg/select_mayhem.cfdg +28 -0
  394. data/lib/image_paradise/cfdg/seven_folded_symmetry.cfdg +7 -0
  395. data/lib/image_paradise/cfdg/several_cats.cfdg +996 -0
  396. data/lib/image_paradise/cfdg/shadow_box.cfdg +49 -0
  397. data/lib/image_paradise/cfdg/shadowrun_google_maps.cfdg +66 -0
  398. data/lib/image_paradise/cfdg/shadowrun_nightline.cfdg +18 -0
  399. data/lib/image_paradise/cfdg/shards.cfdg +70 -0
  400. data/lib/image_paradise/cfdg/sheet_music.cfdg +213 -0
  401. data/lib/image_paradise/cfdg/shy_guy.cfdg +886 -0
  402. data/lib/image_paradise/cfdg/sierpinski1.cfdg +41 -0
  403. data/lib/image_paradise/cfdg/sierpinski2.cfdg +34 -0
  404. data/lib/image_paradise/cfdg/sierpinski_like_red_swirl.cfdg +46 -0
  405. data/lib/image_paradise/cfdg/sierpinsktri.cfdg +9 -0
  406. data/lib/image_paradise/cfdg/silk_flowers.cfdg +68 -0
  407. data/lib/image_paradise/cfdg/silk_scarf.cfdg +18 -0
  408. data/lib/image_paradise/cfdg/simple_cilia.cfdg +88 -0
  409. data/lib/image_paradise/cfdg/simple_circle_and_square.cfdg +7 -0
  410. data/lib/image_paradise/cfdg/simple_coloured_square.cfdg +38 -0
  411. data/lib/image_paradise/cfdg/simple_ferns.cfdg +40 -0
  412. data/lib/image_paradise/cfdg/simple_fish.cfdg +77 -0
  413. data/lib/image_paradise/cfdg/simple_orchid.cfdg +23 -0
  414. data/lib/image_paradise/cfdg/simple_rounded_colour_wheel.cfdg +10 -0
  415. data/lib/image_paradise/cfdg/simple_sheet_music.cfdg +27 -0
  416. data/lib/image_paradise/cfdg/sincos_pattern_2.cfdg +42 -0
  417. data/lib/image_paradise/cfdg/singing_birdy.cfdg +112 -0
  418. data/lib/image_paradise/cfdg/skyscraper.cfdg +85 -0
  419. data/lib/image_paradise/cfdg/small_golden_rectangle.cfdg +12 -0
  420. data/lib/image_paradise/cfdg/smells_like_layered.cfdg +43 -0
  421. data/lib/image_paradise/cfdg/snowflake.cfdg +26 -0
  422. data/lib/image_paradise/cfdg/snowstorm.cfdg +26 -0
  423. data/lib/image_paradise/cfdg/soar_on_wings.cfdg +8 -0
  424. data/lib/image_paradise/cfdg/soft_core.cfdg +26 -0
  425. data/lib/image_paradise/cfdg/soft_touch.cfdg +20 -0
  426. data/lib/image_paradise/cfdg/some_sort_of_tree.cfdg +57 -0
  427. data/lib/image_paradise/cfdg/spade_ball.cfdg +39 -0
  428. data/lib/image_paradise/cfdg/sparks.cfdg +39 -0
  429. data/lib/image_paradise/cfdg/sperm.cfdg +63 -0
  430. data/lib/image_paradise/cfdg/sphinx.cfdg +17 -0
  431. data/lib/image_paradise/cfdg/spiral_clusters.cfdg +29 -0
  432. data/lib/image_paradise/cfdg/spiral_cross.cfdg +27 -0
  433. data/lib/image_paradise/cfdg/spiral_star.cfdg +19 -0
  434. data/lib/image_paradise/cfdg/spiral_sun.cfdg +39 -0
  435. data/lib/image_paradise/cfdg/spirit.cfdg +47 -0
  436. data/lib/image_paradise/cfdg/splatter_tree.cfdg +61 -0
  437. data/lib/image_paradise/cfdg/spliced.cfdg +27 -0
  438. data/lib/image_paradise/cfdg/spring_parade.cfdg +105 -0
  439. data/lib/image_paradise/cfdg/sprinkle_explosion.cfdg +23 -0
  440. data/lib/image_paradise/cfdg/square_limit_one.cfdg +15 -0
  441. data/lib/image_paradise/cfdg/square_rose.cfdg +75 -0
  442. data/lib/image_paradise/cfdg/square_spiral4.cfdg +41 -0
  443. data/lib/image_paradise/cfdg/square_star.cfdg +39 -0
  444. data/lib/image_paradise/cfdg/squiggle.cfdg +54 -0
  445. data/lib/image_paradise/cfdg/stacked_blob.cfdg +27 -0
  446. data/lib/image_paradise/cfdg/star_explosion.cfdg +38 -0
  447. data/lib/image_paradise/cfdg/star_flower.cfdg +72 -0
  448. data/lib/image_paradise/cfdg/star_mosaic_2007.cfdg +51 -0
  449. data/lib/image_paradise/cfdg/starry_pines.cfdg +79 -0
  450. data/lib/image_paradise/cfdg/stars_tentacles.cfdg +28 -0
  451. data/lib/image_paradise/cfdg/starshape.cfdg +57 -0
  452. data/lib/image_paradise/cfdg/strange_antlers.cfdg +49 -0
  453. data/lib/image_paradise/cfdg/strange_carpet.cfdg +13 -0
  454. data/lib/image_paradise/cfdg/sunset_city.cfdg +112 -0
  455. data/lib/image_paradise/cfdg/sweep.cfdg +946 -0
  456. data/lib/image_paradise/cfdg/swimmers_sperms.cfdg +54 -0
  457. data/lib/image_paradise/cfdg/sword.cfdg +24 -0
  458. data/lib/image_paradise/cfdg/tangle.cfdg +25 -0
  459. data/lib/image_paradise/cfdg/tapestry.cfdg +40 -0
  460. data/lib/image_paradise/cfdg/tasty_loops.cfdg +97 -0
  461. data/lib/image_paradise/cfdg/tendril.cfdg +6 -0
  462. data/lib/image_paradise/cfdg/tentacle_tree.cfdg +57 -0
  463. data/lib/image_paradise/cfdg/terraforming.cfdg +87 -0
  464. data/lib/image_paradise/cfdg/test.cfdg +7 -0
  465. data/lib/image_paradise/cfdg/tetris.cfdg +123 -0
  466. data/lib/image_paradise/cfdg/textured_giraffes.cfdg +122 -0
  467. data/lib/image_paradise/cfdg/the_eye.cfdg +16 -0
  468. data/lib/image_paradise/cfdg/the_go_game.cfdg +81 -0
  469. data/lib/image_paradise/cfdg/the_secret.cfdg +52 -0
  470. data/lib/image_paradise/cfdg/the_third_eye.cfdg +42 -0
  471. data/lib/image_paradise/cfdg/thingy.cfdg +13 -0
  472. data/lib/image_paradise/cfdg/thorns.cfdg +26 -0
  473. data/lib/image_paradise/cfdg/too_many_notes.cfdg +155 -0
  474. data/lib/image_paradise/cfdg/top_down_plant_root.cfdg +43 -0
  475. data/lib/image_paradise/cfdg/top_view_tree.cfdg +79 -0
  476. data/lib/image_paradise/cfdg/transparent_heart.cfdg +31 -0
  477. data/lib/image_paradise/cfdg/tree.cfdg +68 -0
  478. data/lib/image_paradise/cfdg/tree_number_5.cfdg +28 -0
  479. data/lib/image_paradise/cfdg/tree_retro.cfdg +46 -0
  480. data/lib/image_paradise/cfdg/tree_spiral.cfdg +52 -0
  481. data/lib/image_paradise/cfdg/treematic.cfdg +42 -0
  482. data/lib/image_paradise/cfdg/tri_arc.cfdg +16 -0
  483. data/lib/image_paradise/cfdg/tri_squares.cfdg +7 -0
  484. data/lib/image_paradise/cfdg/tube_map.cfdg +112 -0
  485. data/lib/image_paradise/cfdg/turing_morphogenesis.cfdg +788 -0
  486. data/lib/image_paradise/cfdg/twisted_hex_grid.cfdg +26 -0
  487. data/lib/image_paradise/cfdg/twisty_triangel.cfdg +79 -0
  488. data/lib/image_paradise/cfdg/twizeeded.cfdg +19 -0
  489. data/lib/image_paradise/cfdg/uncontrolled_fungus.cfdg +36 -0
  490. data/lib/image_paradise/cfdg/underground.cfdg +72 -0
  491. data/lib/image_paradise/cfdg/underwater.cfdg +75 -0
  492. data/lib/image_paradise/cfdg/unicorn_boi.cfdg +20 -0
  493. data/lib/image_paradise/cfdg/unification_sign.cfdg +52 -0
  494. data/lib/image_paradise/cfdg/urban_connections.cfdg +44 -0
  495. data/lib/image_paradise/cfdg/us_flag.cfdg +109 -0
  496. data/lib/image_paradise/cfdg/v_null.cfdg +89 -0
  497. data/lib/image_paradise/cfdg/very_simple_flower.cfdg +45 -0
  498. data/lib/image_paradise/cfdg/very_simple_hexagon.cfdg +16 -0
  499. data/lib/image_paradise/cfdg/very_simple_octagon.cfg +13 -0
  500. data/lib/image_paradise/cfdg/vigorous_vine.cfdg +45 -0
  501. data/lib/image_paradise/cfdg/ville_topview.cfdg +70 -0
  502. data/lib/image_paradise/cfdg/vine.cfdg +176 -0
  503. data/lib/image_paradise/cfdg/vinyl.cfdg +12 -0
  504. data/lib/image_paradise/cfdg/violet_ribbons.cfdg +45 -0
  505. data/lib/image_paradise/cfdg/voronoi_2.cfdg +61 -0
  506. data/lib/image_paradise/cfdg/wald.cfdg +46 -0
  507. data/lib/image_paradise/cfdg/water_ink.cfdg +71 -0
  508. data/lib/image_paradise/cfdg/water_monster.cfdg +33 -0
  509. data/lib/image_paradise/cfdg/web.cfdg +53 -0
  510. data/lib/image_paradise/cfdg/weighting_demo.cfdg +16 -0
  511. data/lib/image_paradise/cfdg/weird_spots.cfdg +15 -0
  512. data/lib/image_paradise/cfdg/welcome.cfdg +109 -0
  513. data/lib/image_paradise/cfdg/where_do_you_want_to_go_today.cfdg +632 -0
  514. data/lib/image_paradise/cfdg/where_is_the_head.cfdg +28 -0
  515. data/lib/image_paradise/cfdg/where_to_go.cfdg +62 -0
  516. data/lib/image_paradise/cfdg/willow.cfdg +39 -0
  517. data/lib/image_paradise/cfdg/witch_poison.cfdg +58 -0
  518. data/lib/image_paradise/cfdg/wooden_floor.cfdg +95 -0
  519. data/lib/image_paradise/cfdg/writhing.cfdg +15 -0
  520. data/lib/image_paradise/cfdg/wrooom_cars.cfdg +124 -0
  521. data/lib/image_paradise/cfdg/xmas_code.cfdg +101 -0
  522. data/lib/image_paradise/cfdg/xmas_tree.cfdg +70 -0
  523. data/lib/image_paradise/cfdg/yellow_cactus.cfdg +52 -0
  524. data/lib/image_paradise/cfdg/yet_another_explosion.cfdg +46 -0
  525. data/lib/image_paradise/cfdg/yin_yang_taijitu_pattern.cfdg +44 -0
  526. data/lib/image_paradise/cfdg/yog.cfdg +27 -0
  527. data/lib/image_paradise/cfdg/yurbanis_m.cfdg +27 -0
  528. data/lib/image_paradise/cfdg/zen_tree.cfdg +79 -0
  529. data/lib/image_paradise/cfdg/ziggy_flowers.cfdg +44 -0
  530. data/lib/image_paradise/cfdg/zodiac.cfdg +43 -0
  531. data/lib/image_paradise/chunky_png/chunky_png.rb +54 -0
  532. data/lib/image_paradise/colours/colours.rb +55 -0
  533. data/lib/image_paradise/confree_generator/confree_generator.rb +793 -0
  534. data/lib/image_paradise/confree_generator/constants.rb +93 -0
  535. data/lib/image_paradise/constants/constants.rb +50 -0
  536. data/lib/image_paradise/constants/image_file_types.rb +27 -0
  537. data/lib/image_paradise/crop/crop.rb +429 -0
  538. data/lib/image_paradise/gm_support.rb +34 -0
  539. data/lib/image_paradise/graphs/accumulator_bar.rb +29 -0
  540. data/lib/image_paradise/graphs/area.rb +64 -0
  541. data/lib/image_paradise/graphs/bar.rb +117 -0
  542. data/lib/image_paradise/graphs/bar_conversion.rb +53 -0
  543. data/lib/image_paradise/graphs/base.rb +1392 -0
  544. data/lib/image_paradise/graphs/bezier.rb +45 -0
  545. data/lib/image_paradise/graphs/bullet.rb +115 -0
  546. data/lib/image_paradise/graphs/deprecated.rb +42 -0
  547. data/lib/image_paradise/graphs/dot.rb +129 -0
  548. data/lib/image_paradise/graphs/line.rb +328 -0
  549. data/lib/image_paradise/graphs/mini/bar.rb +42 -0
  550. data/lib/image_paradise/graphs/mini/legend.rb +109 -0
  551. data/lib/image_paradise/graphs/mini/pie.rb +42 -0
  552. data/lib/image_paradise/graphs/mini/side_bar.rb +41 -0
  553. data/lib/image_paradise/graphs/net.rb +133 -0
  554. data/lib/image_paradise/graphs/photo_bar.rb +106 -0
  555. data/lib/image_paradise/graphs/pie.rb +139 -0
  556. data/lib/image_paradise/graphs/scatter.rb +264 -0
  557. data/lib/image_paradise/graphs/scene.rb +216 -0
  558. data/lib/image_paradise/graphs/side_bar.rb +144 -0
  559. data/lib/image_paradise/graphs/side_stacked_bar.rb +116 -0
  560. data/lib/image_paradise/graphs/spider.rb +163 -0
  561. data/lib/image_paradise/graphs/stacked_area.rb +73 -0
  562. data/lib/image_paradise/graphs/stacked_bar.rb +68 -0
  563. data/lib/image_paradise/graphs/stacked_mixin.rb +30 -0
  564. data/lib/image_paradise/graphs/themes.rb +117 -0
  565. data/lib/image_paradise/graphs.rb +36 -0
  566. data/lib/image_paradise/graphviz/README.md +2 -0
  567. data/lib/image_paradise/graphviz/generate_graphviz_image.rb +276 -0
  568. data/lib/image_paradise/gui/gtk3/cfdg_widget/cfdg_widget.rb +1452 -0
  569. data/lib/image_paradise/gui/gtk3/cfdg_widget/connect_skeleton.rb +46 -0
  570. data/lib/image_paradise/gui/gtk3/image_editor/connect_skeleton.rb +126 -0
  571. data/lib/image_paradise/gui/gtk3/image_editor/image_editor.rb +2003 -0
  572. data/lib/image_paradise/identify.rb +184 -0
  573. data/lib/image_paradise/image_paradise.rb +153 -0
  574. data/lib/image_paradise/image_to_ascii/image_to_ascii.rb +187 -0
  575. data/lib/image_paradise/image_to_pdf/image_to_pdf.rb +99 -0
  576. data/lib/image_paradise/label/README.md +2 -0
  577. data/lib/image_paradise/label/simple_label.rb +206 -0
  578. data/lib/image_paradise/logo/IMGUR_LOGO.png +0 -0
  579. data/lib/image_paradise/project/project.rb +30 -0
  580. data/lib/image_paradise/requires/common_base_requires.rb +17 -0
  581. data/lib/image_paradise/requires/require_colours.rb +9 -0
  582. data/lib/image_paradise/requires/require_gtk_components.rb +8 -0
  583. data/lib/image_paradise/requires/require_image_to_ascii.rb +7 -0
  584. data/lib/image_paradise/requires/require_the_image_paradise_project.rb +42 -0
  585. data/lib/image_paradise/requires/require_toplevel_methods.rb +21 -0
  586. data/lib/image_paradise/rotate/README.md +2 -0
  587. data/lib/image_paradise/rotate/rotate.rb +124 -0
  588. data/lib/image_paradise/shell/interactive.rb +156 -0
  589. data/lib/image_paradise/svg/README.md +5 -0
  590. data/lib/image_paradise/svg/circle.rb +106 -0
  591. data/lib/image_paradise/svg/feature.rb +48 -0
  592. data/lib/image_paradise/svg/rectangle.rb +154 -0
  593. data/lib/image_paradise/svg/svg.rb +102 -0
  594. data/lib/image_paradise/toplevel_methods/add_black_border_to_this_image.rb +94 -0
  595. data/lib/image_paradise/toplevel_methods/create_animated_gif.rb +49 -0
  596. data/lib/image_paradise/toplevel_methods/crop.rb +29 -0
  597. data/lib/image_paradise/toplevel_methods/e.rb +16 -0
  598. data/lib/image_paradise/toplevel_methods/esystem.rb +19 -0
  599. data/lib/image_paradise/toplevel_methods/extract_text_from_this_image.rb +56 -0
  600. data/lib/image_paradise/toplevel_methods/file_related_code.rb +110 -0
  601. data/lib/image_paradise/toplevel_methods/flip_image_left_right.rb +59 -0
  602. data/lib/image_paradise/toplevel_methods/font_related_methods.rb +62 -0
  603. data/lib/image_paradise/toplevel_methods/greyscale_this_image.rb +76 -0
  604. data/lib/image_paradise/toplevel_methods/gui.rb +19 -0
  605. data/lib/image_paradise/toplevel_methods/help.rb +30 -0
  606. data/lib/image_paradise/toplevel_methods/interlace.rb +33 -0
  607. data/lib/image_paradise/toplevel_methods/is_an_image_file.rb +18 -0
  608. data/lib/image_paradise/toplevel_methods/make_this_image_transparent.rb +40 -0
  609. data/lib/image_paradise/toplevel_methods/menu.rb +110 -0
  610. data/lib/image_paradise/toplevel_methods/merge_these_images.rb +49 -0
  611. data/lib/image_paradise/toplevel_methods/mirror_image.rb +28 -0
  612. data/lib/image_paradise/toplevel_methods/misc.rb +1603 -0
  613. data/lib/image_paradise/toplevel_methods/negate.rb +36 -0
  614. data/lib/image_paradise/toplevel_methods/png_to_svg.rb +38 -0
  615. data/lib/image_paradise/toplevel_methods/quality.rb +34 -0
  616. data/lib/image_paradise/toplevel_methods/resized.rb +43 -0
  617. data/lib/image_paradise/toplevel_methods/roebe.rb +440 -0
  618. data/lib/image_paradise/toplevel_methods/thumbnail.rb +54 -0
  619. data/lib/image_paradise/toplevel_methods/to_png.rb +106 -0
  620. data/lib/image_paradise/toplevel_methods/wallpaper.rb +51 -0
  621. data/lib/image_paradise/toplevel_methods/write_this_text.rb +89 -0
  622. data/lib/image_paradise/utility_scripts/black_white.rb +92 -0
  623. data/lib/image_paradise/utility_scripts/create_new_image.rb +110 -0
  624. data/lib/image_paradise/utility_scripts/image_border.rb +226 -0
  625. data/lib/image_paradise/utility_scripts/image_gallery/image_gallery.rb +305 -0
  626. data/lib/image_paradise/utility_scripts/image_manipulations.rb +316 -0
  627. data/lib/image_paradise/utility_scripts/magic_card_border.rb +215 -0
  628. data/lib/image_paradise/utility_scripts/optimizer.rb +444 -0
  629. data/lib/image_paradise/utility_scripts/random_text_to_image.rb +364 -0
  630. data/lib/image_paradise/utility_scripts/text_on_image.rb +311 -0
  631. data/lib/image_paradise/utility_scripts/to_gif.rb +93 -0
  632. data/lib/image_paradise/utility_scripts/to_jpg.rb +82 -0
  633. data/lib/image_paradise/version/version.rb +19 -0
  634. data/lib/image_paradise/www/cfdg.cgi +25 -0
  635. data/lib/image_paradise/www/imagemagick/imagemagick.cgi +266 -0
  636. data/lib/image_paradise/yaml/README.md +2 -0
  637. data/lib/image_paradise/yaml/arc.yml +0 -0
  638. data/lib/image_paradise/yaml/circle.yml +6 -0
  639. data/lib/image_paradise/yaml/rectangle.yml +6 -0
  640. data/lib/image_paradise.rb +5 -0
  641. data/test/16x16_red_square_image_for_testing.png +0 -0
  642. data/test/misc/README.md +3 -0
  643. data/test/misc/testing_filling_up_with_circles.rb +65 -0
  644. data/test/testing_confree_generator.rb +8 -0
  645. data/test/testing_crop.rb +19 -0
  646. data/test/testing_image_magick_commands.rb +39 -0
  647. data/test/testing_image_paradise.rb +49 -0
  648. data/test/testing_the_svg_component.html +261 -0
  649. data/test/testing_the_svg_component.rb +106 -0
  650. metadata +762 -0
@@ -0,0 +1,95 @@
1
+ # ==========================================================
2
+ # Perlin Noise 2D: COPYRIGHT 2002 KEN PERLIN
3
+ #
4
+ # http://mrl.nyu.edu/~perlin/noise/
5
+ # http://mrl.nyu.edu/~perlin/paper445.pdf
6
+ # http://www.google.com/patents/US6867776
7
+ #
8
+ # Understanding Perlin Noise see:
9
+ # http:# flafla2.github.io/2014/08/09/perlinnoise.html
10
+ #
11
+ # Some small adjustments to make it work in CF:
12
+ # - Smaller permutation table.
13
+ # (CF has a maximum vector length of 99.)
14
+ # - Different method to prevent
15
+ # exceeding bounds of array index.
16
+ # - Clearer Gradient function.
17
+ # - Shape Last_Pluto_Dream_test_ is for testing.
18
+ # - Download this source and use it yourself
19
+ # import Perlin2d96.cfdg
20
+ #
21
+ # ------------------------------------------------
22
+ # Function : Perlin2d( X,Y Oct,Persist)
23
+ # Parameter: X : X-coordinate
24
+ # Y : Y-coordinate
25
+ # Oct : Octaves
26
+ # Persist : Persistence
27
+ # ==========================================================
28
+ P_=17,85,92,90,89,15,77,13,80,95,53, 3, 7,83,19,37
29
+ ,72, 5,68,84, 8,52,26,43,21,10,23,60, 6,47,81,44
30
+ ,30,74, 0,27,35,61,94,63,32,12,39,36,11,33,57,22
31
+ ,34,87,14,16,56,86,69,20,78,38,42,31,67, 9,73,29
32
+ ,70, 4, 2,48,28, 1,76,58,49,45,82,65,93,88,59,18
33
+ ,66,50,62,75,91,41,55,46,71,40,24,79,51,54,64,25
34
+ ,17
35
+
36
+ number Grad_(natural hash, X, Y)=
37
+ select(mod(hash,4),X+Y, -X+Y, X-Y, -X-Y)
38
+
39
+ number Fade_(t)= t*t*t*(t*(t*6-15)+10)
40
+ number In(X, A, B)= A + X*(B - A)
41
+ number Noise_(X, Y)=let(
42
+ xf= floor(X); x0= min(xf-96*floor(xf/96),95);
43
+ yf= floor(Y); y0= min(yf-96*floor(yf/96),95);
44
+ xi= X-xf; U = Fade_(xi);
45
+ yi= Y-yf; V = Fade_(yi);
46
+
47
+ A =mod(P_[x0 ]+y0,96);
48
+ B =mod(P_[x0+1]+y0,96);
49
+ Interpolate= # range -1..1
50
+ In(V,In(U,Grad_(P_[A ],xi ,yi )
51
+ ,Grad_(P_[B ],xi-1,yi ))
52
+ ,In(U,Grad_(P_[A+1],xi ,yi-1)
53
+ ,Grad_(P_[B+1],xi-1,yi-1)));
54
+ (Interpolate+1)/2 # bound to 0..1
55
+ )
56
+
57
+ Octave_(X,Y, Oct,Persist, Total,Freq,Ampl,Max)=
58
+ if( !Oct, Total/Max,
59
+ Octave_(X,Y, Oct-1, Persist,
60
+ Total+Ampl*Noise_(X*Freq,Y*Freq),
61
+ Freq*2, Ampl*Persist, Max+Ampl)
62
+ )
63
+ Perlin2d(X,Y, Oct,Persist)=
64
+ let( Total= 0; Freq = 1;
65
+ Ampl = 1; Max = 0; # to normalize to 0..1
66
+ Octave_(X,Y,Oct,Persist,Total,Freq,Ampl,Max)
67
+ )
68
+
69
+ # ==========================================================
70
+ # Test of function Perlin2d
71
+ # ------------------------------------------------
72
+ # Render to size
73
+ # Width: 800 Heigth: 600
74
+ # Image border size: variable
75
+ # ==========================================================
76
+
77
+ startshape Last_Pluto_Dream_test_
78
+ shape Last_Pluto_Dream_test_
79
+ { Rand=rand(12)
80
+ Octaves=6
81
+ Persistence=0.65
82
+ loop Y= 0, 25, 0.02 []
83
+ loop X=-4, 4, 0.02 []
84
+ { p=Perlin2d(X*sqrt(1+Y)/12+Rand,
85
+ Y*sqrt(1+Y)/4 +Rand,
86
+ Octaves, Persistence)
87
+ X1=X+0.1*p*(40-Y)/15
88
+ Y1=sqrt(3*Y+4*p)
89
+ H =65-0.25*(p-0.5)*360
90
+ Sat=0.2+p
91
+ B =0.7-Y/40-(abs(p-0.5)^0.35)
92
+ if (Y1>2&&Y1<8)
93
+ CIRCLE[x X1 Y1 -Y s 0.06
94
+ h H sat Sat b B a -0.5]
95
+ } }
@@ -0,0 +1,42 @@
1
+ startshape PUF
2
+
3
+ background {sat .75 hue 30 b .5}
4
+ tile { s 10 }
5
+
6
+ rule PUF {A{sat 1}3*{x 7 y 3}A{s .6 z -10 b .3 sat 1}10*{x 3 y 7}A{s .45 z -20 b .8 sat 1}}
7
+
8
+ rule A {A{x 7}}
9
+ rule A {A{s .96 z -1 b .1}}
10
+ rule A {A{x 3 r 57}B{}}
11
+ rule A {A{y 6}B{}}
12
+ rule A .5{B{}}
13
+
14
+ rule B {CIRC{hue 30}FACE{hue 30 s 1.5 z .3 x -.1 y -.1}}
15
+
16
+ rule CIRC {180*{r 2}POIL{x .48 s .06}CIRCLE{}}
17
+
18
+ rule POIL 6 {POIL{s .96}}
19
+ rule POIL {P{}}
20
+ rule POIL {P{}POIL{}}
21
+
22
+ rule P 30 { CIRCLE{alpha -.6}P{x .05 s .997 r .5 alpha -.01}}
23
+ rule P { P{flip 0}}
24
+
25
+ rule FACE 2{FACE {x .01}}
26
+ rule FACE 2{FACE {y .01}}
27
+ rule FACE {OE{s .1 x .1 y .1} OE{s .1 x -.1 y .1} BOUCHE{b .5 s .02 z .3 y -.03}}
28
+
29
+ rule OE 6{OE{r 3}}
30
+ rule OE 4{OE{flip 90}}
31
+ rule OE {CIRCLE{b .5}CIRCLE{s .6}POP{z .1}}
32
+
33
+ rule POP 2{POP{y .1}}
34
+ rule POP {SQUARE{s 1.1 .8 y .1}}
35
+
36
+ rule BOUCHE 3 {BOUCHE{y -1}}
37
+ rule BOUCHE {2*{flip 90}D{flip 0}}
38
+ rule BOUCHE {2*{flip 90}D{}}
39
+
40
+ rule D 9 {CIRCLE{}D{x .3 r 3}}
41
+ rule D 3 {D{flip 0}}
42
+ rule D {}
@@ -0,0 +1,217 @@
1
+ /* CFDG Lesson */
2
+
3
+ startshape TOC
4
+ // each grammar file must
5
+ // have a "startshape"
6
+ // statement to say which
7
+ // shape to begin with
8
+
9
+ rule TOC {
10
+ // a "rule" statement says how
11
+ // to compose a shape out of
12
+ // other shapes
13
+
14
+ CHAPTER1 { x 0 y 0 }
15
+ CHAPTER2 { x 10 y 0 }
16
+ CHAPTER3 { x 0 y -10 }
17
+ CHAPTER4 { x 10 y -10 }
18
+ // each entry in the rule
19
+ // names a shape to draw and
20
+ // some "adjustments" in curly
21
+ // braces
22
+
23
+ TITLES { }
24
+ }
25
+
26
+ rule CHAPTER1 {
27
+ ## BASIC SHAPES ##
28
+ SQUARE { x 2 y 5 size 3 }
29
+ CIRCLE { x 6 y 5 size 3 }
30
+ TRIANGLE { x 4 y 2 size 3 }
31
+ // these shapes are special:
32
+ // they draw a shape into the
33
+ // image, centered at the
34
+ // current location
35
+ SHAPES { y 1 size 3 }
36
+ // This tells you the relative
37
+ // sizes and positions of each
38
+ // basic shape.
39
+ }
40
+
41
+ rule SHAPES {
42
+ SQUARE {}
43
+ CIRCLE {b 0.3}
44
+ TRIANGLE {b 0.5}
45
+ TRIANGLE {r 60 b 0.7}
46
+ }
47
+
48
+ rule CHAPTER2 {
49
+ ## BASIC ADJUSTMENTS ##
50
+ SQUARE { }
51
+ // empty adjustments
52
+ // this is the lone square in
53
+ // chapter 2's area
54
+
55
+ SQUARE { x 3 y 7 }
56
+ // adjust location
57
+
58
+ // even though adjustments
59
+ // are written after the shape
60
+ // they are applied before!
61
+
62
+ SQUARE { x 5 y 7 rotate 30 }
63
+ // adjust rotation
64
+ SQUARE { x 3 y 5 size 0.75 }
65
+ // adjust size
66
+
67
+ // notice that rotaion and size
68
+ // are adjusted after location
69
+
70
+ SQUARE { x 5 y 5
71
+ brightness 0.5 }
72
+ // adjust brightness
73
+
74
+ SQUARE { x 7 y 6
75
+ // shorthands:
76
+ r 45 // for rotate
77
+ s 0.7 // for size
78
+ b 0.7 // for brightness
79
+ }
80
+
81
+ FOURSQUARE { x 5 y 1
82
+ size 0.2 rotate 10 }
83
+ // adjustments are cumulative
84
+ }
85
+ rule FOURSQUARE {
86
+ SQUARE { x 0 y 0 size 5 3}
87
+ SQUARE { x 0 y 5 size 2 4 }
88
+ SQUARE { x 5 y 5 size 3 }
89
+ SQUARE { x 5 y 0 size 2 }
90
+ // even though these are
91
+ // at locations and sizes
92
+ // that seem big, they have
93
+ // all been relocated, scaled
94
+ // and rotated when the rule
95
+ // for CHAPTER2 used
96
+ // FOURSQUARE
97
+ // Two SQUAREs have been
98
+ // have been turned into
99
+ // rectangles
100
+ }
101
+
102
+ rule CHAPTER3 {
103
+ ## RECURSION ##
104
+ SPIRAL { x 0 y 3 }
105
+ }
106
+ rule SPIRAL {
107
+ CIRCLE { size 0.5 }
108
+ SPIRAL { y 0.2
109
+ rotate -3
110
+ size 0.995 }
111
+ // a shape can use itself so
112
+ // long as it keeps getting
113
+ // smaller
114
+
115
+ // the system will stop the
116
+ // recursion when the shapes
117
+ // get to small to see
118
+ }
119
+
120
+ rule CHAPTER4 {
121
+ ## RANDOMNESS ##
122
+ TREE { x 1 y 0 }
123
+ TREE { x 6 y 0 }
124
+ TREE { x 1 y 4 }
125
+ TREE { x 6 y 4 }
126
+ // even though these are the
127
+ // same shape used four
128
+ // times, each looks different
129
+ }
130
+ rule TREE 20 {
131
+ // first rule for TREE
132
+ CIRCLE { size 0.25 }
133
+ TREE { y 0.1 size 0.97 }
134
+ }
135
+ rule TREE 1.5 {
136
+ // second rule for TREE
137
+ BRANCH { }
138
+ }
139
+ // When expanding a TREE, a
140
+ // rule is picked randomly.
141
+ // The first rule has been given a
142
+ // weight of 20, the second of 1.5,
143
+ // so the first will be picked
144
+ // proportionally more often
145
+
146
+ rule BRANCH {
147
+ BRANCH_LEFT { }
148
+ BRANCH_RIGHT { }
149
+ }
150
+ rule BRANCH_LEFT {
151
+ TREE { rotate 20 }
152
+ }
153
+ rule BRANCH_LEFT {
154
+ TREE { rotate 30 }
155
+ }
156
+ rule BRANCH_LEFT {
157
+ TREE { rotate 40 }
158
+ }
159
+ rule BRANCH_LEFT {
160
+ // empty rules are okay
161
+ }
162
+ // If no weight is given for a rule
163
+ // the weight is 1. Hence, the
164
+ // above four rules are picked
165
+ // equally randomly
166
+
167
+ rule BRANCH_RIGHT {
168
+ TREE { rotate -20 }
169
+ }
170
+ rule BRANCH_RIGHT {
171
+ TREE { rotate -30 }
172
+ }
173
+ rule BRANCH_RIGHT {
174
+ TREE { rotate -40 }
175
+ }
176
+ rule BRANCH_RIGHT {
177
+ // empty rules are okay
178
+ }
179
+
180
+
181
+
182
+ ## Utilities ##
183
+ include i_pix.cfdg
184
+ // The "include" statement reads
185
+ // in all the rules from another file.
186
+ // Any "startshape" in the included
187
+ // file is ignored.
188
+
189
+ rule TITLES {
190
+ TITLE1 { x 0 y 8.5 }
191
+ TITLE2 { x 10 y 8.5 }
192
+ TITLE3 { x 0 y -1.5 }
193
+ TITLE4 { x 10 y -1.5 }
194
+ }
195
+ rule TITLE1 {
196
+ O_5by5 { x 0 }
197
+ N_5by5 { x 1.2 }
198
+ E_5by5 { x 2.4 }
199
+ }
200
+ rule TITLE2 {
201
+ T_5by5 { x 0 }
202
+ W_5by5 { x 1.2 }
203
+ O_5by5 { x 2.4 }
204
+ }
205
+ rule TITLE3 {
206
+ T_5by5 { x 0 }
207
+ H_5by5 { x 1.2 }
208
+ R_5by5 { x 2.4 }
209
+ E_5by5 { x 3.6 }
210
+ E_5by5 { x 4.8 }
211
+ }
212
+ rule TITLE4 {
213
+ F_5by5 { x 0 }
214
+ O_5by5 { x 1.2 }
215
+ U_5by5 { x 2.4 }
216
+ R_5by5 { x 3.6 }
217
+ }
@@ -0,0 +1,60 @@
1
+ startshape Bosquet
2
+ /*------------------------------------------------------------------------*/
3
+ background { hue 200 sat .3 b -.2}
4
+ /*------------------------------------------------------------------------*/
5
+ rule Bosquet {
6
+ Terre{x -2 y -3 alpha -.9}
7
+ 90* {r 4} Rotarbre{r 2 y 30 s 3}
8
+ 90* {r 4} Rotarbre{y 30 s 2}
9
+ 120* {r 3} Rotarbre{y 30 s 1}
10
+ 60* {r 6} Rotarbre{y 0 s 4}
11
+ }
12
+ /*------------------------------------------------------------------------*/
13
+ rule Terre 30{
14
+ CIRCLE{ s 60 hue 36 sat .05 b .5}
15
+ Terre {s .9996 x .1 r 1 hue 0.01 sat .05 b .012}}
16
+
17
+ rule Terre 30{
18
+ CIRCLE{ s 60 hue 60 sat 1 b .5}
19
+ Terre {s .999 x .2 r 1 sat -.05 b .003}}
20
+
21
+ rule Terre 1{
22
+ CIRCLE{ s 60 hue 60 sat 1 b .5}
23
+ Terre {s .999 x .2 r 30 sat -.05 b .003}}
24
+ /*------------------------------------------------------------------------*/
25
+ rule Rotarbre {hueArbre{r 3}}
26
+ rule Rotarbre {hueArbre{r -3}}
27
+
28
+ rule hueArbre{Arbre {hue +5}}
29
+ rule hueArbre{Arbre {hue -5}}
30
+
31
+ rule Rota 90 {Rota {r .1}}
32
+ rule Rota {Arbre {s .9}}
33
+ /*------------------------------------------------------------------------*/
34
+ rule Arbre {Brique {} Rotarbre{y .1}}
35
+
36
+ rule Arbre {Brique {} Rotarbre{y .1 s .993}}
37
+
38
+ rule Arbre .02 {Branche{}}
39
+
40
+ rule Arbre .012{Feuillage{}}
41
+ /*------------------------------------------------------------------------*/
42
+ rule Brique 1 {SQUARE {r 10 hue 300 sat .3 b .6}}
43
+ rule Brique 1 {SQUARE {r -10 hue 300 sat .3 b .6}}
44
+ rule Brique 60 {CIRCLE {hue 180 sat .3 b .3}}
45
+ rule Brique 5 {TRIANGLE {r 190 hue 100 sat .3 b .6}}
46
+ rule Brique 5 {TRIANGLE {r 170 hue 100 sat .3 b .6}}
47
+ rule Brique 10 {TRIANGLE {hue 150 sat .6 b .3}}
48
+ /*------------------------------------------------------------------------*/
49
+ rule Branche {Rota{flip 90} Rota{}}
50
+ /*------------------------------------------------------------------------*/
51
+ rule Feuillage{
52
+ Touf{s 6 4 hue 15} Feuilles{}
53
+ Feuilles{r 120} Feuilles{r 240}
54
+ }
55
+ rule Feuilles 3{Touf{}Feuilles{y .75 s .6 r 60 hue 5 b .3}}
56
+ rule Feuilles 2.4{Touf{}Feuilles{y -.45 s 1.2 r -45 hue -5 b -.3}}
57
+ rule Feuilles .6{Touf{}Feuilles{y .3 s 1.5 r 75 hue 5 b .3}}
58
+ rule Feuilles 1.2{Touf{}}
59
+
60
+ rule Touf {CIRCLE {hue 90 sat 1 b .5}}
@@ -0,0 +1,94 @@
1
+ # =========================================================================== #
2
+ # From:
3
+ #
4
+ # https://www.contextfreeart.org/gallery2/#design/4107
5
+ #
6
+ # HEIGHT: 680
7
+ # WIDTH: 680
8
+ #
9
+ # =========================================================================== #
10
+
11
+ startshape plant [ b .4]
12
+ CF::Background = [h 40 sat .35 b -.8]
13
+
14
+ CF::Impure=1
15
+
16
+ depth=5
17
+ A1=22.5
18
+
19
+ shape plant {
20
+ loop 5 [x -.2..0.4 r -5..10]
21
+ gras[s 5 z -10 sat 1 r 90]
22
+ mod [s .008 .005 r 90 hue 0 sat 0.7 x -2.5 y -6 a -0.4]
23
+ }
24
+
25
+ shape gras
26
+ { //Lindenmayergras X->F[+X]F[-X]+X
27
+ L(depth-1,2)[ r 0 h 110 ]
28
+ }
29
+
30
+ shape L(natural i, up)
31
+ {
32
+ if (i > 0 && up<=depth)
33
+ {
34
+ leave[ h -40..40]
35
+ L(i--1,up)[x 1 r A1]
36
+ F1=.1..2.8
37
+ leave[s F1 x .8 h -40..40 ]
38
+ L(i--1,up+1)[x (1+F1-.2) r (-A1..-1.5*A1) z 1 b -.05 ]
39
+ L(i--1,up+1)[x (1+F1-.2) r (.1*A1..A1) z 1 b -.05 ]
40
+ }
41
+ else {
42
+ if (up>=depth)
43
+ bloom[sat 1 b 1 s 4 h 220 x -.2]
44
+ }
45
+ }
46
+
47
+ shape bloom {
48
+ leave [ r -25..0 h -70..-40 s .1 .5 a -.5]
49
+ leave [h -50..-65 s .1 .5 a -.5 z 1]
50
+ leave[h -70..-40 r 20 s .1 .5 a -.5]
51
+ }
52
+
53
+ path leave
54
+ {
55
+ MOVETO(0,0)
56
+ A=.2..0.4
57
+ CURVETO(1 , 0, 0.1.. 0.2, 0.012 .. 0.25, 0.6 .. 0.8 ,-0.05 ..0.08)
58
+ CURVETO(0,0, 0.2.. 0.5,-0.01 .. -0.2, 0.7..0.8, -0.01.. -0.14)
59
+ CLOSEPOLY()
60
+ STROKE(.082,CF::IsoWidth+CF::RoundJoin)[b -.31]
61
+ FILL(CF::EvenOdd)[a 1 ]
62
+ CURVETO(1,0, 0.2.. 0.5, -0.01 .. 0.012, 0.7..0.8, -0.051.. 0.055)
63
+ STROKE(.004,CF::IsoWidth+CF::RoundJoin)[ b -0.6 ]
64
+ }
65
+
66
+ F(x1,y1)=
67
+ mod((abs(x1)^0.7-abs(y1)^1.85),360)
68
+
69
+ vector2 P(X,Y)=
70
+ let(S=1-1/(1.45*exp(((X/400)^2+(Y/400)^2)/0.25));X/S*4.5,Y/S*4.5)
71
+
72
+ shape mod {
73
+ loop row= -420, 420,.24 [ ]
74
+ loop col=-200, 200,.24 [ ] {
75
+ p1=P(row,col)
76
+ p1x=p1[0]
77
+ p1y=p1[1] +cos(abs(col))*200
78
+ SQUARE [s 4.5 y (abs(row)/100) h (-F(row,col)/5) x p1x p1y b (2.9-F(row,col)/80)]
79
+ }
80
+ }
81
+
82
+ shape desk{
83
+ loop 100 [b .02 y -.1]
84
+ SQUARE[s 20 1 ]
85
+ }
86
+
87
+ path line(number x1, number y1, number height)
88
+ {
89
+ MOVETO(x1 , y1)
90
+ CURVETO(x1, y1 + height, x1*1.5, y1+ height/3, x1*2 , y1+ 2/3*height)
91
+ STROKE(.04,CF::IsoWidth+CF::RoundJoin)[]
92
+ }
93
+
94
+ # runcfdg lindenmayergrassef2_pretty_flowers.cfdg
@@ -0,0 +1,136 @@
1
+ # Inspired by Dzeni, but I changed his excel calculations a bit,
2
+ # to keep equal line-length.
3
+ # Formula's (for linelength 100 ; angle(RAD) in B3) are:
4
+ # for x-shift: =-(100-(100*COS(B3)))/2
5
+ # for y-shift: =(100-(100*SIN(B3)))/2
6
+
7
+ startshape DING
8
+ background {hue 200 sat 1 b -.9}
9
+
10
+ rule two_DING {
11
+ 2 * {x 100 y 100} DING {x 100 y 100}
12
+ 2 * {x -100 y 100} DING {x -100 y 100}
13
+ 2 * {x 100 y -100} DING {x 100 y -100}
14
+ 2 * {x -100 y -100} DING {x -100 y -100}
15
+ 3 * {y -200} DING {y 200}
16
+ 2 * {x -400} DING {x 200}
17
+ }
18
+
19
+ rule DING {
20
+ CURVE {}
21
+ CURVE {x 100 flip 90}
22
+ CURVE {y -100 flip 180}
23
+ CURVE {y -100 x 100 r 180}
24
+ CURVE {x 100 y -100}
25
+ CURVE {y -100 flip 90}
26
+ CURVE {x 100 flip 180}
27
+ CURVE { r 180}
28
+
29
+ }
30
+
31
+ rule CURVE
32
+ {
33
+ BRUSH{r 0 x 0 y 50}
34
+ BRUSH{r 1 x -0.00761524218043519 y 49.1273796781358}
35
+ BRUSH{r 2 x -0.0304586490452152 y 48.255025164875}
36
+ BRUSH{r 3 x -0.0685232622713059 y 47.3832021878528}
37
+ BRUSH{r 4 x -0.121797487008791 y 46.5121763127937}
38
+ BRUSH{r 5 x -0.19026509541272 y 45.6422128626171}
39
+ BRUSH{r 6 x -0.273905231586333 y 44.7735768366173}
40
+ BRUSH{r 7 x -0.372692417933898 y 43.9065328297426}
41
+ BRUSH{r 8 x -0.486596562921484 y 43.0413449519967}
42
+ BRUSH{r 9 x -0.615582970243111 y 42.1782767479885}
43
+ BRUSH{r 10 x -0.759612349389599 y 41.3175911166535}
44
+ BRUSH{r 11 x -0.918640827616798 y 40.4595502311728}
45
+ BRUSH{r 12 x -1.09261996330972 y 39.604415459112}
46
+ BRUSH{r 13 x -1.28149676073824 y 38.7524472828067}
47
+ BRUSH{r 14 x -1.48521368620018 y 37.9039052200166}
48
+ BRUSH{r 15 x -1.70370868554659 y 37.059047744874}
49
+ BRUSH{r 16 x -1.93691520308406 y 36.21813220915}
50
+ BRUSH{r 17 x -2.18476220184823 y 35.3814147638632}
51
+ BRUSH{r 18 x -2.44717418524232 y 34.5491502812526}
52
+ BRUSH{r 19 x -2.72407122003415 y 33.7215922771422}
53
+ BRUSH{r 20 x -3.01536896070458 y 32.8989928337166}
54
+ BRUSH{r 21 x -3.32097867513991 y 32.081602522735}
55
+ BRUSH{r 22 x -3.64080727166063 y 31.2696703292044}
56
+ BRUSH{r 23 x -3.97475732737798 y 30.4634435755363}
57
+ BRUSH{r 24 x -4.32272711786996 y 29.66316784621}
58
+ BRUSH{r 25 x -4.68461064816751 y 28.869086912965}
59
+ BRUSH{r 26 x -5.06029768504165 y 28.0814426605461}
60
+ BRUSH{r 27 x -5.44967379058161 y 27.3004750130227}
61
+ BRUSH{r 28 x -5.85262035705365 y 26.5264218607055}
62
+ BRUSH{r 29 x -6.26901464303021 y 25.7595189876831}
63
+ BRUSH{r 30 x -6.69872981077806 y 25}
64
+ BRUSH{r 31 x -7.14163496489439 y 24.2480962544973}
65
+ BRUSH{r 32 x -7.5975951921787 y 23.5040367883398}
66
+ BRUSH{r 33 x -8.0664716027288 y 22.7680482492486}
67
+ BRUSH{r 34 x -8.54812137224792 y 22.0403548264627}
68
+ BRUSH{r 35 x -9.04239778555041 y 21.3211781824477}
69
+ BRUSH{r 36 x -9.54915028125263 y 20.6107373853763}
70
+ BRUSH{r 37 x -10.0682244976354 y 19.9092488423976}
71
+ BRUSH{r 38 x -10.5994623196639 y 19.2169262337171}
72
+ BRUSH{r 39 x -11.1427019271515 y 18.5339804475081}
73
+ BRUSH{r 40 x -11.6977778440511 y 17.860619515673}
74
+ BRUSH{r 41 x -12.2645209888614 y 17.1970485504746}
75
+ BRUSH{r 42 x -12.8427587261303 y 16.5434696820571}
76
+ BRUSH{r 43 x -13.4323149190415 y 15.9000819968751}
77
+ BRUSH{r 44 x -14.0330099830674 y 15.2670814770501}
78
+ BRUSH{r 45 x -14.6446609406726 y 14.6446609406726}
79
+ BRUSH{r 46 x -15.2670814770501 y 14.0330099830674}
80
+ BRUSH{r 47 x -15.9000819968751 y 13.4323149190415}
81
+ BRUSH{r 48 x -16.5434696820571 y 12.8427587261303}
82
+ BRUSH{r 49 x -17.1970485504746 y 12.2645209888614}
83
+ BRUSH{r 50 x -17.860619515673 y 11.6977778440511}
84
+ BRUSH{r 51 x -18.5339804475081 y 11.1427019271515}
85
+ BRUSH{r 52 x -19.2169262337171 y 10.5994623196639}
86
+ BRUSH{r 53 x -19.9092488423976 y 10.0682244976354}
87
+ BRUSH{r 54 x -20.6107373853763 y 9.54915028125263}
88
+ BRUSH{r 55 x -21.3211781824477 y 9.04239778555041}
89
+ BRUSH{r 56 x -22.0403548264627 y 8.54812137224791}
90
+ BRUSH{r 57 x -22.7680482492486 y 8.0664716027288}
91
+ BRUSH{r 58 x -23.5040367883398 y 7.5975951921787}
92
+ BRUSH{r 59 x -24.2480962544973 y 7.14163496489439}
93
+ BRUSH{r 60 x -25 y 6.69872981077807}
94
+ BRUSH{r 61 x -25.7595189876831 y 6.26901464303021}
95
+ BRUSH{r 62 x -26.5264218607055 y 5.85262035705366}
96
+ BRUSH{r 63 x -27.3004750130227 y 5.44967379058161}
97
+ BRUSH{r 64 x -28.0814426605461 y 5.06029768504165}
98
+ BRUSH{r 65 x -28.869086912965 y 4.68461064816751}
99
+ BRUSH{r 66 x -29.66316784621 y 4.32272711786996}
100
+ BRUSH{r 67 x -30.4634435755363 y 3.97475732737799}
101
+ BRUSH{r 68 x -31.2696703292044 y 3.64080727166063}
102
+ BRUSH{r 69 x -32.081602522735 y 3.32097867513991}
103
+ BRUSH{r 70 x -32.8989928337166 y 3.01536896070458}
104
+ BRUSH{r 71 x -33.7215922771422 y 2.72407122003416}
105
+ BRUSH{r 72 x -34.5491502812526 y 2.44717418524232}
106
+ BRUSH{r 73 x -35.3814147638632 y 2.18476220184823}
107
+ BRUSH{r 74 x -36.21813220915 y 1.93691520308406}
108
+ BRUSH{r 75 x -37.059047744874 y 1.70370868554659}
109
+ BRUSH{r 76 x -37.9039052200166 y 1.48521368620018}
110
+ BRUSH{r 77 x -38.7524472828068 y 1.28149676073824}
111
+ BRUSH{r 78 x -39.604415459112 y 1.09261996330972}
112
+ BRUSH{r 79 x -40.4595502311728 y 0.918640827616798}
113
+ BRUSH{r 80 x -41.3175911166535 y 0.759612349389599}
114
+ BRUSH{r 81 x -42.1782767479885 y 0.615582970243111}
115
+ BRUSH{r 82 x -43.0413449519967 y 0.486596562921484}
116
+ BRUSH{r 83 x -43.9065328297426 y 0.372692417933898}
117
+ BRUSH{r 84 x -44.7735768366173 y 0.273905231586333}
118
+ BRUSH{r 85 x -45.6422128626171 y 0.19026509541272}
119
+ BRUSH{r 86 x -46.5121763127937 y 0.121797487008791}
120
+ BRUSH{r 87 x -47.3832021878528 y 0.0685232622713059}
121
+ BRUSH{r 88 x -48.2550251648749 y 0.0304586490452152}
122
+ BRUSH{r 89 x -49.1273796781358 y 0.00761524218043519}
123
+ BRUSH{r 90 x -50 y 0}
124
+
125
+ }
126
+ rule BRUSH {
127
+ SQUARE {s 100 .07 hue 90 sat 1 b 1}
128
+ CIRCLE {s 8 hue 220 sat .6 b 1 z -1 a -.9}
129
+ CIRCLE {s 4 hue 220 sat .8 b 1 z -1 a -.5}
130
+ CIRCLE {s 1 hue 220 sat .2 b 1 z 1 }
131
+ }
132
+
133
+
134
+ #
135
+ # Very cool! I like this kind of techy graphics a lot. - tijn on 2006-12-23 11:16:46
136
+ #
@@ -0,0 +1,51 @@
1
+
2
+ startshape looking_out
3
+
4
+ rule looking_out {
5
+ hemisphere { }
6
+ hemisphere {flip 90 x 30}
7
+ }
8
+
9
+ rule hemisphere {
10
+ eye {s 20 }
11
+ 14 * {r 20 } nerve1 [r -30 y 10.5]
12
+ }
13
+
14
+ rule eye {
15
+ 500 * {b 0.01 s 0.999} CIRCLE { }
16
+ sphere { s 0.4 hue 200 sat 0.2 b 0.7 }
17
+ pupil { s 0.25 b 0.5}
18
+ }
19
+
20
+ rule sphere {
21
+ 500 * {b 0.01 s 0.999} CIRCLE { }
22
+ }
23
+
24
+ rule pupil { CIRCLE { }}
25
+
26
+ rule nerve1 {
27
+ nervebrush{}
28
+ nerve1 {y 1.0 size 0.99 rotate 1.5 }
29
+ }
30
+
31
+ rule nerve1 0.03 {nerve2 {}}
32
+
33
+ rule nerve2 {
34
+ nervebrush{}
35
+ nerve2 {y 1.0 size 0.99 rotate -1.5}
36
+ }
37
+
38
+ rule nerve2 0.06 {
39
+ nervebrush {}
40
+ nerve2 {y 1.0 size 0.99 rotate 1.5}
41
+ nerve1 {y 1.0 size 0.6 rotate -60}
42
+ nerve2 {y 1.0 size 0.5 rotate 60}
43
+ }
44
+
45
+ rule nerve2 0.005 {
46
+ CIRCLE {s 10}
47
+ }
48
+
49
+ rule nervebrush {
50
+ SQUARE { }
51
+ }