Original creative generative art blog by Julien Leonard aka Julleor from julienleonard.com
Thursday, December 27, 2007
Wednesday, December 26, 2007
Recursion
support = Ondulation2[ :support=, LinearBezier[ :support=, [Vector::O, Vector::X] ], :freq=, 2, :amp=, 0.5 ]
support.geo( 3.0 ).splits( 10 ) do |bezier|
bezier = support.move( (bezier.firstpoint..bezier.lastpoint) )
bezier.geo( 3.0 ).splits( 10 ) do |bezier|
bezier = support.move( (bezier.firstpoint..bezier.lastpoint) )
bezier.geo( 5.0 ).splits( 10 ) do |bezier|
render.add_object( support.move( (bezier.firstpoint..bezier.lastpoint) ), Style.new( :stroke=, Color.black, :strokewidth=, 0.001 ) )
end
end
end
support.geo( 3.0 ).splits( 10 ) do |bezier|
bezier = support.move( (bezier.firstpoint..bezier.lastpoint) )
bezier.geo( 3.0 ).splits( 10 ) do |bezier|
bezier = support.move( (bezier.firstpoint..bezier.lastpoint) )
bezier.geo( 5.0 ).splits( 10 ) do |bezier|
render.add_object( support.move( (bezier.firstpoint..bezier.lastpoint) ), Style.new( :stroke=, Color.black, :strokewidth=, 0.001 ) )
end
end
end
Saturday, December 22, 2007
Bezier Similitude
support = Ondulation2[ :support=, LinearBezier[ :support=, [Point::O, Vector::X] ], :freq=, 3, :amp=, 0.5 ]
fuseau = FuseauApp[ :support=, support, :maxwidth=, 0.2 ]
[support, fuseau].samples( 100 ) do |p1, p2|
render.add_object( support.move( (p1..p2) ), Style.new( :stroke=, Color.black, :strokewidth=, 0.001 ) )
end
fuseau = FuseauApp[ :support=, support, :maxwidth=, 0.2 ]
[support, fuseau].samples( 100 ) do |p1, p2|
render.add_object( support.move( (p1..p2) ), Style.new( :stroke=, Color.black, :strokewidth=, 0.001 ) )
end
Friday, December 21, 2007
Thursday, December 20, 2007
Sunday, December 16, 2007
Four code lines : split dataflow
ondulation = Ondulation2[ :support=, LinearBezier.buildwithangle( 0.0 ), :freq=, 3, :amp=, 0.5 ]
ondulation.ssort().random().splits( 100 ) do |bezier|
render.add_object( bezier, Style.new( :stroke=, Color.black, :strokewidth=, (0.1..0.0).geo(3.0).rand ))
end
ondulation.ssort().random().splits( 100 ) do |bezier|
render.add_object( bezier, Style.new( :stroke=, Color.black, :strokewidth=, (0.1..0.0).geo(3.0).rand ))
end
Saturday, December 15, 2007
Friday, December 14, 2007
Sunday, December 9, 2007
Saturday, December 8, 2007
Friday, December 7, 2007
Thursday, December 6, 2007
Wednesday, December 5, 2007
Five code lines
line = LinearBezier.build( :support=, [Point::O, Point::X])
ondulation = Ondulation2.build( :support=, line, :freq=, 3, :amp=, 0.5 )
palette = Palette.new( :colorlist=, [ Color.blue, 0.0, Color.orange, 0.5, Color.yellow, 1.0 ] )
[ondulation.sampler(:point).geo( 2.5 ), palette].samples(50) do |point, color|
render.add_object( Circle.new( :center=, point, :radius=, 0.01 ), Style.new( :fill=, color ))
end
Monday, December 3, 2007
Sunday, December 2, 2007
Saturday, December 1, 2007
Subscribe to:
Posts (Atom)