Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
"; $cntrX = $width / 2; $cntrY = $height / 2; echo "
The center of the image is at " .$cntrX . ", " . $cntrY ; echo '
Test Trig Fucntions php
Get all cordinates for a circle
'; $r = 5 ; echo 'Radiuz == ' . $r . '
X, Y, PixelColour at that point.
'; $im = imagecreatefromjpeg("spc.jpg"); $Pi = pi(); for ($a=0; $a<=360; $a++) { $ax = $r*cos($a*$Pi/180) ; //x $ay = $r*sin($a*$Pi/180) ; //y $PXCol = imagecolorat($im, $ax, $ay); echo $ax . ", " . $ay . ", " . $PXCol . "
"; } ?>
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)