CSS pow(), sqrt(), hypot() Demo - Online Trigonometric Functions
Experiment with exponential, square root, and hypotenuse functions in CSS. See live computed values. Modern CSS math.
UD5 Toolkit
Interactive visualization of CSS trigonometric functions with real-time animation
Chrome 111+ Firefox 108+ Safari 15.4+
CSS sin()/cos()/tan() are widely supported in all modern browsers (2023+)
sin(30deg) returns 0.5. They're typically used inside calc() expressions for layout calculations, animations, and positioning.
deg, rad), while JavaScript's Math.sin() expects radians. In CSS, sin(90deg) = 1 is intuitive. In JS, you'd need Math.sin(Math.PI / 2). CSS functions also integrate seamlessly with calc() and CSS custom properties.
--angle as a <angle> type, animate from 0deg to 360deg, and use transform: translate(calc(sin(var(--angle)) * 100px), calc(cos(var(--angle)) * 100px)) for circular motion.
tan(90deg) returns an extremely large value (β 1.63Γ10ΒΉβΆ in practice). This can cause layout overflow or elements to disappear off-screen. Always constrain tan() values with clamp() or ensure your angles stay within safe ranges (e.g., -45Β° to 45Β°).
calc(sin(var(--a)) * 100px + cos(var(--b)) * 50px). This is powerful for creating complex motion paths. For circular motion, use sin() for X and cos() for Y (or vice versa depending on starting position). The functions return plain numbers, so multiply by a length unit to get usable CSS values.
sin(0.5turn) = 0, sin(3.1416rad) β 0, sin(180deg) = 0. Use whichever unit fits your mental model best!
sin(ΞΈ) oscillates between -1 and 1, making it perfect for smooth back-and-forth animations, bouncing effects, and wave patterns in CSS.
cos(ΞΈ) = sin(ΞΈ + 90Β°). It's identical to sin but shifted by 90Β°. Use cos() when you need an element to start at maximum displacement rather than zero.
tan(ΞΈ) = sin(ΞΈ)/cos(ΞΈ). It has vertical asymptotes where cos(ΞΈ)=0 (90Β°, 270Β°). Use with care and consider wrapping in clamp() for safety.
Experiment with exponential, square root, and hypotenuse functions in CSS. See live computed values. Modern CSS math.
Create smooth, animated CSS waves (like water or sound) by adjusting amplitude, colors, and speed. Copy the readyβtoβuse SVG/CSS code.
Generate flowing geometric art by layering sine waves with different frequencies, amplitudes, and colors. Download SVG.
Create a 'drawing' effect for any SVG path. Adjust speed and delay. Copy the CSS and SVG code. No JS needed.
Upload a font file or specify a URL and generate the complete @fontβface rule with modern formats and fontβdisplay. Copy instantly.
Wrap your text inside an ASCII art frame or bubble. Multiple designs (speech bubble, box). Copy to clipboard.
Assign a CSS class to any emoji and generate a snippet that displays the emoji as a background image or pseudo element. Useful for icon systems.
Draw and edit SVG vector graphics in the browser. Basic shapes, text, and freehand. Export raw SVG code or as a file. No server, fully local.
Generate a random, completely fake analytics dashboard snippet. 'Bounce rate: 98% from Mars.' Geeky humor.
Paste HTML and instantly remove all tags, leaving only the text content. Optional keep line breaks. Quick cleaning.
Create styled text using Unicode math symbols that render as bold, italic, bold-italic, etc. Copy and paste to social media bios. Local generator.
Encrypt and decrypt text using the browser's Web Crypto API. Supports AESβGCM and subtle key generation. No server required.
Convert 3-digit capacitor codes (like 104, 222) to capacitance value in pF, nF, Β΅F. Also converts back. Useful for reading tiny ceramic capacitors.
Generate and print custom calligraphy practice sheets with adjustable x-height, slant angle, and base line. Perfect for copperplate or Spencerian.
Decode a message hidden in a string of emojis (each emoji maps to a letter). Fun game for kids. Create your own.
Upload an image and convert it into a paint-by-numbers outline with numbered palette. Adjust complexity. Print and paint. Local processing.
Check which cipher suites a website supports and identify weak or outdated ones. Quick security audit from your browser.
Encrypt and decrypt text using AES in the browser with a password. Uses Web Crypto API. No data sent to server.
Build perfect Open Graph meta tags for rich social media previews. Preview how your link will look on Facebook and LinkedIn. Structured data tools for better CTR.
Generate a hardboiled film noir plot with a detective, a dame, and a McGuffin. Great for creative writing prompts.
Upload multiple SVGs and combine them into a single icon font (TTF, WOFF). Also get the CSS classes. Clientβside conversion.
Convert HTML to plain text while preserving paragraph breaks. Remove images, links, and scripts. Quick data extraction.
Turn your normal message into 2000s SMS language (e.g., 'you' β 'u', 'great' β 'gr8'). Choose intensity level. Pure fun.
Create a fake WhatsApp/iMessage chat screenshot. Customize names, messages, and timestamps. Just for fun.
Turn any photo into a greyscale pencil sketch. Adjust detail level and darkness. Download your artwork. Local canvas filter.
Convert your text into a string of emojis using a simple substitution cipher. Share secret messages that look fun. Decode them with the same tool. All local.
Search a curated dictionary of modern internet acronyms (IMO, TBH, IYKYK) and slang. Simple offline-capable reference. No tracking.
Enter a URL to see exactly what Open Graph and Twitter card tags will be shown when shared on social media. Fetch from browser.
Create a realistic fake text message conversation. Choose iOS or Android style, set contact name, messages, and times. For laughs.
Upload a photo and turn it into an optimized Open Graph image with title overlay. Perfect for blog social shares. Canvas.