-- render the centroid of a feature centroid( $geometry )
-- visually overlap features within a 100 map units distance from a point -- feature, i.e generate a 100m buffer around the point buffer( $geometry, 100 )
-- Given polygon layer1( id1, layer2_id, ...) and layer2( id2, fieldn...) -- render layer1 with a line joining centroids of both where layer2_id = id2 make_line( centroid( $geometry ), centroid( geometry( get_feature( 'layer2', 'id2', attribute( $currentfeature, 'layer2_id') ) ) )
-- Create a nice radial effect of points surrounding the central feature -- point when used as a MultiPoint geometry generator collect_geometries( array_foreach( generate_series( 0, 330, 30 ), project( $geometry, .2, radians( @element ) ) ) )