-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|391|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Snippet Home -> Generators


 
Andy_A
Created : 12 October 2016
Edited : 12 October 2016

Fisheye Lens Effect

Shows images as through a 'fisheye'' (barrel lens)

[imgs]null[/imgs]Jay's 2D balls reminded me of this code.

It takes any square image and turn's it into a round one, or any rectangular image into an oval, with barrel lens effect.



Fisheye version of Jay's ball texture


Blitzplus code:

 

Comments


Wednesday, 12 October 2016, 11:50
Jayenkai
Nice!
Add this to the 2D balls, and you could get a nice spherical set of balls!